Skip to content

Commit

Permalink
update comments about subdirectories
Browse files Browse the repository at this point in the history
Signed-off-by: Ahmad Rezaii <[email protected]>
  • Loading branch information
arezaii committed Oct 3, 2024
1 parent 86b6cb8 commit b114a03
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 @@ -411,7 +411,10 @@ if ($testblog == 1) {
}

# copy the relevant blog source files into the test directory so they'll be
# ran alongside all the other tests
# ran alongside all the other tests and the results will truncate $CHPL_HOME
# from the test file paths when reporting errors. Copying specific subdirectories
# this way avoids a bunch of skipped directories and the problem of testing
# the archetypes blog directory.
mysystem("mkdir -p $testdir/copied-chapel-blog/content", "making chpl-src directory", $exitOnError, 1);
mysystem("cp -r $blogdir/chpl-src $testdir/copied-chapel-blog/", "copying chapel-blog/chpl-src", $exitOnError, 1);
mysystem("cp -r $blogdir/scripts $testdir/copied-chapel-blog/", "copying chapel-blog/scripts", $exitOnError, 1);
Expand Down Expand Up @@ -631,8 +634,6 @@ if ($examples == 1) {
}

if ($blogonly == 1 || ($testblog == 1 && $examples == 1)) {
# test the sub-directories explicitly to avoid a bunch of skipped directories,
# and also avoid the problem of testing the archetypes directory
$testdirs .= " $testdir/copied-chapel-blog/";
}

Expand Down

0 comments on commit b114a03

Please sign in to comment.