Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
tesh: display the full path to tesh file to simplify edits
authorMartin Quinson <martin.quinson@loria.fr>
Sun, 24 Jul 2016 19:45:25 +0000 (21:45 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Sun, 24 Jul 2016 19:45:25 +0000 (21:45 +0200)
tools/tesh/tesh.pl

index 6867c3a..34f17ff 100755 (executable)
@@ -326,7 +326,9 @@ if ($diff_tool) {
 }
 
 if ( $tesh_file =~ m/(.*)\.tesh/ ) {
 }
 
 if ( $tesh_file =~ m/(.*)\.tesh/ ) {
-    print "Test suite `$tesh_file'\n";
+    my $dir = qx,pwd,;
+    chomp($dir);
+    print "Test suite '$dir/$tesh_file'\n";
 } else {
     $tesh_name = "(stdin)";
     print "Test suite from stdin\n";
 } else {
     $tesh_name = "(stdin)";
     print "Test suite from stdin\n";