File tree Expand file tree Collapse file tree 4 files changed +5
-1
lines changed Expand file tree Collapse file tree 4 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ script:
41
41
- cmake -DCMAKE_BUILD_TYPE=Release -DMOZART_BOOST_USE_STATIC_LIBS=False -DCMAKE_PROGRAM_PATH=$BIN -DCMAKE_PREFIX_PATH=$PREFIX $SOURCES
42
42
- make dist VERBOSE=1
43
43
- make VERBOSE=1
44
+ - make check
44
45
deploy :
45
46
provider : releases
46
47
skip_cleanup : true
Original file line number Diff line number Diff line change @@ -10,8 +10,9 @@ message(STATUS "Build type: ${CMAKE_BUILD_TYPE}")
10
10
project (MOZART CXX)
11
11
12
12
ENABLE_TESTING ()
13
- # Custom CMake modules
13
+ add_custom_target (check COMMAND ${CMAKE_CTEST_COMMAND} )
14
14
15
+ # Custom CMake modules
15
16
set (CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR} /cmake_local ${CMAKE_MODULE_PATH} )
16
17
include (MozartProperties)
17
18
Original file line number Diff line number Diff line change @@ -208,4 +208,5 @@ if(BUILD_TESTING)
208
208
set (TEST_FUNCTORS_OZF ${TEST_FUNCTORS_OZF} "${FUNCTOR_OZF} " )
209
209
add_test (${FUNCTOR} ${OZEMULATOR} --home "${MOZART_BUILD_DIR} " "${RUNNER_OZF} " "${FUNCTOR_OZF} " )
210
210
endforeach ()
211
+ add_dependencies (check platform-test )
211
212
endif (BUILD_TESTING)
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ add_executable(vmtest testutils.cc sanitytest.cc smallinttest.cc floattest.cc
15
15
virtualstringtest.cc bytestringtest.cc)
16
16
target_link_libraries (vmtest mozartvm gtest gtest_main)
17
17
add_test (vmtest vmtest)
18
+ add_dependencies (check vmtest)
18
19
19
20
if (NOT MINGW)
20
21
target_link_libraries (vmtest pthread)
You can’t perform that action at this time.
0 commit comments