File: noExitTester

package info (click to toggle)
trinityrnaseq 2.2.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 212,452 kB
  • ctags: 5,067
  • sloc: perl: 45,552; cpp: 19,678; java: 11,865; sh: 1,485; makefile: 613; ansic: 427; python: 313; xml: 83
file content (37 lines) | stat: -rw-r--r-- 1,385 bytes parent folder | download
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;