Skip to content

Commit 360a113

Browse files
committed
Exclude tests if we are on macOS
the way in which the time command is invoked internally is not compatible.
1 parent 2cb5145 commit 360a113

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

root/interpreter/CMakeLists.txt

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
RB_ADD_GBENCHMARK(InterpreterBenchmarks
2-
RunInterpreter.cxx
3-
LABEL short)
1+
if(NOT CMAKE_SYSTEM_NAME MATCHES Darwin)
2+
RB_ADD_GBENCHMARK(InterpreterBenchmarks
3+
RunInterpreter.cxx
4+
LABEL short)
45

5-
RB_ADD_GBENCHMARK(InterpreterBenchmarksNoPCH
6-
RunInterpreterNoPCH.cxx
7-
LABEL short)
6+
RB_ADD_GBENCHMARK(InterpreterBenchmarksNoPCH
7+
RunInterpreterNoPCH.cxx
8+
LABEL short)
9+
endif()

0 commit comments

Comments
 (0)