Skip to content

Comments

Adding spectra tests back into carthage friendly base.#30

Open
drekka wants to merge 7 commits intoarcam:developfrom
drekka:feature/Specta-tests
Open

Adding spectra tests back into carthage friendly base.#30
drekka wants to merge 7 commits intoarcam:developfrom
drekka:feature/Specta-tests

Conversation

@drekka
Copy link

@drekka drekka commented Jun 13, 2016

You will need to merge the other pull request first.

This request adds the spectra tests into the new carthage project.

I added the tests and dependencies in. Without PCH files, I added missing headers. Which resulted in duplicate symbol issues with the test support headers which declared global blocks. Converting the blocks to C functions. I've not seen blocks used or declare like this before. They appeared to act pretty much like C functions, however I found that there where problems when they where imported in more than one test class.

Anyway, results are all green now.

Not sure if you want to go this direction or not.

drekka added 7 commits June 7, 2016 22:38
I've set one header as private to illustrate how that can work.
Added test classes.
Added imports where needed.
BUild everything as frameworks.
Coverted global blocks to C function to fix duplicate symbol issues.
All tests green.
@squarefrog
Copy link
Member

Thanks for this - I'll take a look at it tomorrow 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants