-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Stop running Pugs every day."
This reverts commit 6c41218. Conflicts: bin/doit
- Loading branch information
Showing
2 changed files
with
29 additions
and
0 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
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,24 @@ | ||
#!/bin/sh | ||
|
||
LANG=en_US.UTF-8 | ||
export LANG | ||
|
||
# Building pugs doesn't like our perlbrew, default to sysperl | ||
PATH=/usr/local/bin:$PATH | ||
|
||
# | ||
# Warning - this doesn't handle the case where deps change | ||
# - make dies and says "run cabal configure" | ||
# | ||
|
||
rm -rf Pugs.hs | ||
git clone repos/Pugs.hs.git | ||
git clone repos/roast.git Pugs.hs/t/spec | ||
cd Pugs.hs | ||
(cd Pugs && make) | ||
echo "#!/usr/bin/env perl" > perl6 | ||
echo '$ENV{PUGS_USE_EXTERNAL_TEST}=1;' >> perl6 | ||
echo '$ENV{LC_ALL}="en_US.ISO-8859-1";' >> perl6 | ||
echo 'exec "ulimit -t 90; ulimit -v 1260720; ulimit -c 0; nice -20 ./Pugs/pugs -IPugs/ext/Test/lib @ARGV"' >> perl6 | ||
chmod a+x ./perl6 | ||
perl t/spec/test_summary pugs 2>&1 | tee ../log/pugs_summary.out |