Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions integration_tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ macro(RUN_UTIL RUN_FAIL RUN_NAME RUN_FILE_NAME RUN_LABELS RUN_EXTRAFILES RUN_NOM
endmacro(RUN_UTIL)

macro(RUN)
set(options FAIL NOFAST NOMOD ENABLE_CPYTHON LINK_NUMPY)
set(options FAIL NOFAST NOMOD ENABLE_CPYTHON LINK_NUMPY NO_WARNINGS)
set(oneValueArgs NAME IMPORT_PATH COPY_TO_BIN REQ_PY_VER)
set(multiValueArgs LABELS EXTRAFILES)
cmake_parse_arguments(RUN "${options}" "${oneValueArgs}"
Expand All @@ -328,6 +328,10 @@ macro(RUN)
set(RUN_EXTRA_ARGS ${RUN_EXTRA_ARGS} --enable-cpython)
endif()

if (RUN_NO_WARNINGS)
set(RUN_EXTRA_ARGS ${RUN_EXTRA_ARGS} --no-warnings)
endif()

if (RUN_IMPORT_PATH)
# Only one import path supported for now
# Later add support for multiple import paths by looping over and appending to extra args
Expand Down Expand Up @@ -606,7 +610,7 @@ RUN(NAME test_os LABELS cpython llvm c NOFAST)
RUN(NAME test_builtin LABELS cpython llvm c)
RUN(NAME test_builtin_abs LABELS cpython llvm c)
RUN(NAME test_builtin_bool LABELS cpython llvm c)
RUN(NAME test_builtin_pow LABELS cpython llvm c)
RUN(NAME test_builtin_pow LABELS cpython llvm c NO_WARNINGS)
RUN(NAME test_builtin_int LABELS cpython llvm c)
RUN(NAME test_builtin_len LABELS cpython llvm c)
RUN(NAME test_builtin_str LABELS cpython llvm c)
Expand Down