Mercurial > hg > graal-jvmci-8
diff test/runtime/CommandLine/FlagWithInvalidValue.java @ 8807:1feda2e9f044
8007982: some runtime/CommandLine/ tests fail on 32-bit platforms
Summary: Changed tests to use platform independent flags
Reviewed-by: collins, hseigel, zgu
author | ctornqvi |
---|---|
date | Wed, 20 Mar 2013 20:40:57 +0100 |
parents | 3a88007634b0 |
children |
line wrap: on
line diff
--- a/test/runtime/CommandLine/FlagWithInvalidValue.java Wed Mar 20 12:20:10 2013 -0400 +++ b/test/runtime/CommandLine/FlagWithInvalidValue.java Wed Mar 20 20:40:57 2013 +0100 @@ -33,10 +33,10 @@ public class FlagWithInvalidValue { public static void main(String[] args) throws Exception { ProcessBuilder pb = ProcessTools.createJavaProcessBuilder( - "-XX:ObjectAlignmentInBytes=v", "-version"); + "-XX:MaxRAMFraction=v", "-version"); OutputAnalyzer output = new OutputAnalyzer(pb.start()); - output.shouldContain("Improperly specified VM option 'ObjectAlignmentInBytes=v'"); + output.shouldContain("Improperly specified VM option 'MaxRAMFraction=v'"); output.shouldHaveExitValue(1); } }