summaryrefslogtreecommitdiff
path: root/test/files/filters
Commit message (Collapse)AuthorAgeFilesLines
* Require and target Java 8Jason Zaugg2015-05-261-0/+1
| | | | | | | | | | | | | | | - Require Java 8 in ant build - use -source 1.8 and -target 1.8 for javac - Default scalac's -target to `jvm-1.8`, ignore and deprecate attempts to use `jvm-1.{6.7}` - Remove fragile javap-app test. The feature itself is slated for removal. - Remove obsolete Java6 checkfile - Adapt DCE tests - Remove deprecated/redundant -target:jvm-1.6 from flags where the intent was to trigger generation of stack map frames. - Remove tests with -target:jvm-1.5 that tested without stack map frames - Ignore OpenJDK JVM warnings (via test/[files|scaladoc]/filters).
* Work-around for partest failure due to JDK bug.Grzegorz Kossakowski2014-01-211-0/+2
| | | | | | | JDK7 and JDK8 have a bug that causes JVM to print some warning about applets that is unrelated to whatever we are testing in Scala. Let's work it around using test/files/filters mechanism that allows us to filter out output lines based on regexp.
* Filter JVM debug output for custom options in partestFrançois Garillot2013-10-151-0/+3
| | | | The Picked up _JAVA_OPTIONS line occurs on Sun's JDK as a debug output when you use that variable to set up custom VM options
* SI-7198 Par-Test uses filters filesSom Snytt2013-05-251-0/+3
Partest will also read files/filters and files/kind/filters for filter expressions (one per line, trimmed, leading #comments) which are taken as regexes. A test/files/filters is provided which attempts to quell HotSpot warnings; the test for this commit requires it. The elided lines can be revealed using the lemon juice of verbosity: apm@mara:~/projects/snytt/test$ ./partest --verbose --show-diff files/run/t7198.scala [snip] >>>>> Transcripts from failed tests >>>>> > partest files/run/t7198.scala % scalac t7198.scala [snip] % filtering t7198-run.log --Over the moon --Java HotSpot(TM) 64-Bit Server VM warning: Failed to reserve shared memory (errno = 28). The filtering operation is part of the transcript, which is printed on failure. No attempt is made to be clever about not slurping the filters file a thousand times. Previous literal patterns had to be updated because there's parens in them thar strings. Future feature: pattern aliases, define once globally and invoke in test filters.