-
Notifications
You must be signed in to change notification settings - Fork 423
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix printchplbuilds test for comm=none (#26403)
Fixes the recently added printchplbuilds test for comm=none builds. The test had been written in an environment where there was more than one Chapel runtime build, which changed the output of the test. This PR also adds a skipif for having more than one runtime build to prevent this issue [Reviewed by @jhh67]
- Loading branch information
Showing
2 changed files
with
14 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
test/chplenv/printchplbuilds/printchplbuilds-print1.skipif
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/env bash | ||
|
||
# skip if printchplbuilds finds more than 1 build | ||
# this messes up the parsing in the prediff | ||
chpl_python=$($CHPL_HOME/util/config/find-python.sh) | ||
printchplbuilds=$CHPL_HOME/util/chplenv/printchplbuilds.py | ||
|
||
if $chpl_python $printchplbuilds --bash 1 &>/dev/null; then | ||
echo True | ||
else | ||
echo False | ||
fi |