Skip to content

Commit

Permalink
Add failing static chaiscript test
Browse files Browse the repository at this point in the history
  • Loading branch information
lefticus committed Mar 21, 2017
1 parent be2fec0 commit 204faa8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,9 @@ if(BUILD_TESTING)
target_link_libraries(compiled_tests ${LIBS} ${CHAISCRIPT_LIBS})
ADD_CATCH_TESTS(compiled_tests)

add_executable(static_chaiscript unittests/static_chaiscript.cpp)
target_link_libraries(static_chaiscript_test ${LIBS})
add_test(NAME Static_ChaiScript_Test COMMAND static_chaiscript_test)

add_executable(boxed_cast_test unittests/boxed_cast_test.cpp)
target_link_libraries(boxed_cast_test ${LIBS})
Expand Down
5 changes: 5 additions & 0 deletions unittests/static_chaiscript.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#include <chaiscript/chaiscript.hpp>

static chaiscript::ChaiScript chai;

int main() {}

0 comments on commit 204faa8

Please sign in to comment.