1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
Author: Michael R. Crusoe <crusoe@ucdavis.edu>
Description: Don't try to test Java
--- trinityrnaseq.orig/Trinity
+++ trinityrnaseq/Trinity
@@ -2283,32 +2283,6 @@
die "Error, cannot find 'java'. Please be sure it is available within your \${PATH} setting and then try again.";
}
-
- my $cmd = "java -Xmx64m -XX:ParallelGCThreads=$bflyGCThreads -jar $UTILDIR/support_scripts/ExitTester.jar 0";
- eval {
- &process_cmd($cmd);
- };
- if ($@) {
- print STDERR "Error encountered in testing for running of a simple java application. ";
- print "$@\n\n";
- print STDERR "Please check your java configuration.\n";
- exit(1);
-
- }
-
- $cmd = "java -Xmx64m -XX:ParallelGCThreads=$bflyGCThreads -jar $UTILDIR/support_scripts/ExitTester.jar 1";
- eval {
- &process_cmd($cmd);
- };
-
- if ($@) {
- print "-we properly captured the java failure status, as needed. Looking good.\n" if $VERBOSE;
- }
- else {
- print STDERR "-we are unable to properly capture java failure status. Please be sure that java (or any wrapper around java that's being used) can properly capture and propagate failure status before proceeding.\n";
- exit(1);
- }
-
print "Java tests succeeded.\n" if $VERBOSE;
print "###################################\n\n" if $VERBOSE;
|