File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ function characterisationTestExit() {
7171 echo >&2 ' '
7272 echo >&2 ' You can rerun this test with:'
7373 echo >&2 ' '
74- echo >&2 " _NIX_TEST_ACCEPT=1 meson test ${TEST_NAME} "
74+ echo >&2 " _NIX_TEST_ACCEPT=1 meson test --suite ${TEST_SUITE_NAME} ${TEST_NAME} "
7575 echo >&2 ' '
7676 echo >&2 ' to regenerate the files containing the expected output,'
7777 echo >&2 ' and then view the git diff to decide whether a change is'
Original file line number Diff line number Diff line change 11# shellcheck shell=bash
22
3- TEST_ROOT=$( realpath " ${TMPDIR:-/ tmp} /nix-test" ) /${TEST_NAME:- default/ tests\/ functional// }
3+ TEST_SUBDIR=" ${TEST_SUITE_NAME:- default} /${TEST_NAME:- tests/ functional/ } "
4+ TEST_ROOT=$( realpath " ${TMPDIR:-/ tmp} /nix-test" ) /" $TEST_SUBDIR "
45export TEST_ROOT
Original file line number Diff line number Diff line change @@ -263,7 +263,8 @@ foreach suite : suites
263263 ' ASAN_OPTIONS' : asan_options,
264264 ' _NIX_TEST_SOURCE_DIR' : meson .current_source_dir(),
265265 ' _NIX_TEST_BUILD_DIR' : meson .current_build_dir(),
266- ' TEST_NAME' : suite_name / name,
266+ ' TEST_SUITE_NAME' : suite_name,
267+ ' TEST_NAME' : name,
267268 ' NIX_REMOTE' : '' ,
268269 ' PS4' : ' +(${BASH_SOURCE[0]-$0}:$LINENO) ' ,
269270 },
You can’t perform that action at this time.
0 commit comments