Skip to content

Commit

Permalink
Skip 1BRC tests in valgrind config (chapel-lang#24508)
Browse files Browse the repository at this point in the history
The 1BRC tests are timing out under the valgrind config. This PR skips
them when `CHPL_NIGHTLY_TEST_CONFIG_NAME==valgrind`.

[ trivial - not reviewed ]
  • Loading branch information
jeremiah-corrado authored Mar 1, 2024
2 parents beb6c02 + d75fc1e commit 94f7667
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion test/studies/1brc/SKIPIF
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
# If something fails along the way (perhaps due to a network outage) we'll
# skip executing the test.

# Skip these tests in the valgrind config (runtime is too long)
if [[ ${CHPL_NIGHTLY_TEST_CONFIG_NAME} == "valgrind" ]]; then
echo "True"
exit
fi

# If we've already generated the input dataset no need to regenerate it
if [[ -e measurements.txt ]]; then
echo "False"
Expand Down Expand Up @@ -39,7 +45,7 @@ if [[ ! -e measurements.txt ]]; then
if ! python3 ./create_measurements.py 10_000_000 2> python.out; then
echo "creating input dataset failed; output:" >&2
cat python.out >&2
return "True"
echo "True"
exit
fi
fi
Expand Down

0 comments on commit 94f7667

Please sign in to comment.