Skip to content

Commit

Permalink
Add comments about the magic
Browse files Browse the repository at this point in the history
  • Loading branch information
portante committed May 24, 2022
1 parent c38030b commit ad1b263
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions agent/bench-scripts/unittests
Original file line number Diff line number Diff line change
Expand Up @@ -307,9 +307,13 @@ else
fi

if [[ ! -z "${_PBENCH_LEGACY_UNITTESTS_LIST}" ]]; then
# List the tests we are going to run without running them. This is helpful
# when adding a new test to either use an unused test number or add another
# one.
cat ${_testroot}/tests.lis
rm ${_testroot}/tests.lis
touch ${_testroot}/tests.lis
# We empty list once displayed so that the execution loop below becomes a
# "no-op" and exits cleanly.
> ${_testroot}/tests.lis
fi

export _date_suffix="1900.01.01T00.00.00"
Expand Down

0 comments on commit ad1b263

Please sign in to comment.