Skip to content

Commit

Permalink
ci: allow running multiple integ tests at once in nix devshell (#4029)
Browse files Browse the repository at this point in the history
  • Loading branch information
dougch authored Jun 9, 2023
1 parent dece431 commit 93754d9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion nix/shell.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,13 @@ function integ {
(cd $SRC_ROOT/build; ctest -L integrationv2 -E "(integrationv2_cross_compatibility|integrationv2_renegotiate_apache)" --verbose)
else
banner "Warning: cross_compatibility & renegotiate_apache are not supported in nix for various reasons integ help for more info."
(cd $SRC_ROOT/build; ctest -L integrationv2 -R "$1" --verbose)
for test in $@; do
ctest --test-dir ./build -L integrationv2 --no-tests=error --output-on-failure -R "$test" --verbose
if [ "$?" -ne 0 ]; then
echo "Test failed, stopping execution"
exit 1
fi
done
fi
}

Expand Down

0 comments on commit 93754d9

Please sign in to comment.