Browse Source

Setup tests correctly in CMakeLists

thesquib 8 years ago
parent
commit
7acefc3d88

+ 1 - 1
Source/Samples/49_Urho2DIsometricDemo/CMakeLists.txt

@@ -30,4 +30,4 @@ define_source_files (EXTRA_H_FILES ${COMMON_SAMPLE_H_FILES} ../Utilities2D/Sampl
 setup_main_executable ()
 setup_main_executable ()
 
 
 # Setup test cases
 # Setup test cases
-add_test (NAME ${TARGET_NAME} COMMAND ${TARGET_NAME} -timeout ${URHO3D_TEST_TIME_OUT})
+setup_test ()

+ 1 - 1
Source/Samples/50_Urho2DPlatformer/CMakeLists.txt

@@ -30,4 +30,4 @@ define_source_files (EXTRA_H_FILES ${COMMON_SAMPLE_H_FILES} ../Utilities2D/Sampl
 setup_main_executable ()
 setup_main_executable ()
 
 
 # Setup test cases
 # Setup test cases
-add_test (NAME ${TARGET_NAME} COMMAND ${TARGET_NAME} -timeout ${URHO3D_TEST_TIME_OUT})
+setup_test ()