Add breakdown switch option in tests
This commit is contained in:
parent
30812e134e
commit
acd63a915e
@ -53,7 +53,7 @@ function(unit_test source)
|
||||
endfunction(unit_test)
|
||||
|
||||
function(ovni_test source)
|
||||
set(switches MP SHOULD_FAIL SORT UNIT)
|
||||
set(switches MP SHOULD_FAIL SORT UNIT BREAKDOWN)
|
||||
set(single NPROC REGEX NAME)
|
||||
set(multi ENV)
|
||||
|
||||
@ -102,6 +102,10 @@ function(ovni_test source)
|
||||
list(APPEND OVNI_TEST_ENV "OVNI_DO_SORT=1")
|
||||
endif()
|
||||
|
||||
if(OVNI_TEST_BREAKDOWN)
|
||||
list(APPEND OVNI_TEST_ENV "OVNI_EMU_ARGS=-b")
|
||||
endif()
|
||||
|
||||
include_directories(
|
||||
"${CMAKE_SOURCE_DIR}/src/include"
|
||||
"${CMAKE_SOURCE_DIR}/src/emu"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# Copyright (c) 2021 Barcelona Supercomputing Center (BSC)
|
||||
# Copyright (c) 2021-2023 Barcelona Supercomputing Center (BSC)
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
set -ex
|
||||
@ -39,7 +39,7 @@ if [ -n "$OVNI_DO_SORT" ]; then
|
||||
fi
|
||||
|
||||
# Then launch the emulator in lint mode
|
||||
"$emubin" -l "$tracedir"
|
||||
"$emubin" $OVNI_EMU_ARGS -l "$tracedir"
|
||||
|
||||
# Run any post script that was generated
|
||||
ls -1 *.sh | while read sh; do
|
||||
|
Loading…
Reference in New Issue
Block a user