Need the test folder content.

This commit is contained in:
Mike Lischke 2016-11-09 16:22:03 +01:00
parent dec5aae9ec
commit d3d5126774
1 changed files with 14 additions and 1 deletions

View File

@ -624,7 +624,7 @@ public abstract class BaseCppTest {
args.add("-la");
ProcessBuilder builder = new ProcessBuilder(args.toArray(new String[0]));
builder.directory(new File(runtimePath + "/dist/"));
String output = runProcess(builder, "printing test case folder content");
String output = runProcess(builder, "printing library folder content");
System.out.println(output);
}
catch (Exception e) {
@ -705,6 +705,19 @@ public abstract class BaseCppTest {
return null;
}
try {
ArrayList<String> args = new ArrayList<String>();
args.add("ls");
args.add("-la");
ProcessBuilder builder = new ProcessBuilder(args.toArray(new String[0]));
builder.directory(new File(tmpdir));
String output = runProcess(builder, "printing test case folder content");
System.out.println(output);
}
catch (Exception e) {
System.err.println("can't print folder content");
}
// Now run the newly minted binary.
try {
ProcessBuilder builder = new ProcessBuilder(binPath, inputPath);