amzn / smoke-framework

A light-weight server-side service framework written in the Swift programming language.
Apache License 2.0
1.45k stars 41 forks source link

tests don't compile on Linux #12

Closed weissi closed 6 years ago

weissi commented 6 years ago

when trying to compile the tests on master (on Linux), I get:

Compile Swift Module 'SmokeFrameworkPackageTests' (1 sources)
/tmp/.nio-release-tools_3y9rpD/smoke-framework/Tests/LinuxMain.swift:5:14: error: use of unresolved identifier 'SmokeOperationsHTTP1AsyncTests'
    testCase(SmokeOperationsHTTP1AsyncTests.allTests),
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<unknown>:0: note: did you mean 'SmokeOperationsAsyncTests'?
/tmp/.nio-release-tools_3y9rpD/smoke-framework/Tests/LinuxMain.swift:6:14: error: use of unresolved identifier 'SmokeOperationsHTTP1SyncTests'
    testCase(SmokeOperationsHTTP1SyncTests.allTests),
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<unknown>:0: note: did you mean 'SmokeOperationsSyncTests'?
<unknown>:0: note: did you mean 'SmokeOperationsAsyncTests'?

with this commit (current master):

$ git rev-parse HEAD
c005cffc2def1e10ddb7f7d0d4162cd99747ae05
tachyonics commented 6 years ago

Ah. Thats kind of embarrassing. Thanks for picking this up.

tachyonics commented 6 years ago

Would you be able to verify that this is fixed for you?

weissi commented 6 years ago

@tachyonics thanks for the quick fix. Confirmed working again!