Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use a deque instead of an intrusive hook for all VMs
[simgrid.git] / tools / tesh / tesh.pl
index b238b4d..fe1d60d 100755 (executable)
@@ -326,7 +326,13 @@ if ($diff_tool) {
 }
 
 if ( $tesh_file =~ m/(.*)\.tesh/ ) {
-    print "Test suite `$tesh_file'\n";
+    my $fullname = $tesh_file;
+    if (not ($fullname =~ m|^/|)) { # not absolute path
+       my $dir = qx,pwd,;
+       chomp($dir);
+       $fullname = "$dir/$fullname"
+    }
+    print "Test suite '$tesh_file'\n";
 } else {
     $tesh_name = "(stdin)";
     print "Test suite from stdin\n";
@@ -430,7 +436,8 @@ sub analyze_result {
         print $diff_tool_tmp_fh "> $got\n" if ($diff_tool);
 
         unless (( $enable_coverage and $got =~ /^profiling:/ ) or
-            ( $enable_sanitizers and $got =~ m/WARNING: ASan doesn't fully support/))
+            ( $enable_sanitizers and $got =~ m/WARNING: ASan doesn't fully support/) or
+            ( $got =~ m/Unable to clean temporary file C:/)) # Crude hack to ignore cruft from Java on Windows
         {
             push @got, $got;
         }