Skip to content

Commit 00c49eb

Browse files
committed
tests/cstrans-df-run: fix the macro that adds a test case
... so that tests with/without the `--shell-form` option get assigned distinct test names rather than effectively overwriting each other. This one-line change enables additional 11 tests. Fixes: commit b05206d Related: csutils#217 Closes: csutils#219
1 parent b05206d commit 00c49eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/cstrans-df-run/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ macro(test_cstrans_df_run_core tst opt tag)
2222
set(cmd "${cmd} ${opt} -- /opt/cov-sa-2019.09/bin/cov-build --dir=/cov --append-log")
2323
set(cmd "${cmd} <${test_data_prefix}-stdin.txt")
2424
set(cmd "${cmd} | ${diffcmd} ${test_data_prefix}${tag}-stdout.txt -")
25-
add_test_wrap("cstrans-df-run-${tst}" "${cmd}")
25+
add_test_wrap("cstrans-df-run-${tst}${tag}" "${cmd}")
2626
endmacro()
2727

2828
macro(test_cstrans_df_run tst)

0 commit comments

Comments
 (0)