Skip to content

Commit

Permalink
handle blogonly flag again
Browse files Browse the repository at this point in the history
Signed-off-by: Ahmad Rezaii <ahmad.rezaii@hpe.com>
  • Loading branch information
arezaii committed Oct 8, 2024
1 parent 59f54cf commit 407cb01
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions util/cron/nightly
Original file line number Diff line number Diff line change
Expand Up @@ -640,10 +640,11 @@ if (!($dist eq "")) {
$testdirs .= " distributions/robust/arithmetic";
}

# add blog directory to 'testdirs' if '-blog' was used and 'testdirs' is being
# used to specify test directories as opposed to everything in '$CHPL_HOME/test/'
# add blog directory to 'testdirs' if '-blogonly' was used
# OR if '-blog' was used and 'testdirs' is being used to specify test directories
# as opposed to testing everything in '$CHPL_HOME/test/'
# to make blog testing work with new flags, make sure they modify 'testdirs' before here
if ($testblog == 1 && $testdirs ne "") {
if ($blogonly == 1 || ($testblog == 1 && $testdirs ne "")) {
$testdirs .= " $testdir/copied-chapel-blog/";
}

Expand Down

0 comments on commit 407cb01

Please sign in to comment.