[tests] Disable timing-based Timer tests in CI
Cherry-picked from eb8a1ef7aa.
This commit is contained in:
committed by
Minh Nguyễn
parent
7d6b91f8e7
commit
28ad35fc04
@@ -24,6 +24,10 @@ if(WITH_OSMESA)
|
||||
add_compile_options(-D__OSMESA__)
|
||||
endif()
|
||||
|
||||
if($ENV{CI})
|
||||
add_compile_options(-DCI_BUILD=1)
|
||||
endif()
|
||||
|
||||
mason_use(geometry VERSION 0.8.0 HEADER_ONLY)
|
||||
mason_use(variant VERSION 1.1.0 HEADER_ONLY)
|
||||
mason_use(unique_resource VERSION dev HEADER_ONLY)
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
#define TEST_IS_SIMULATOR 0
|
||||
#endif
|
||||
|
||||
#if !TEST_IS_SIMULATOR
|
||||
#if !TEST_IS_SIMULATOR && !CI_BUILD
|
||||
#define TEST_REQUIRES_ACCURATE_TIMING(name) name
|
||||
#else
|
||||
#define TEST_REQUIRES_ACCURATE_TIMING(name) DISABLED_ ## name
|
||||
|
||||
Reference in New Issue
Block a user