parrotcode: Test the shootout examples in "examples/shootout/*.pir". | |
Contents | Tests |
t/examples/shootout.t - Test the shootout examples in "examples/shootout/*.pir".
% prove t/examples/shootout.t
Test the PIR shootout examples in 'examples/shootout/*.pir'.
To add a new test, you do not have to modify this script:
1. add your script (toto.pir) to examples/shootout
2. put parrot options in the first line (e.g "#!./parrot -Oc -Cj")
3. make sure you have default argument values
4. put the expected output as a file : toto.pir.output
5. if you need an input file (to be read from stdin), call it toto.pir.input
See the explanation of benchmarks and sample data for reduced N benches at http://shootout.alioth.debian.org/sandbox/
#40064: [TODO] shootout example testing in Parrot RT
"/rt.perl.org/rt3/Public/Bug/Display.html?id=40064"" in "https:
|