Adds test scripts to deploy, run and retrieve results from integration tests.

Adds a simple script for jenkins to run to retrieve the test results from.
Adds a script that allows developers to download and run tests from a specific language easily.
Adds a script that allows the tests to be run from within an ssh session on the roborio.

Change-Id: Ibe6ddc4e1dcbb8192e6552c3901e96f6907a8020
This commit is contained in:
Jonathan Leitschuh
2014-08-26 11:20:02 -04:00
parent 4ef798a0c0
commit 47169e0ce1
12 changed files with 1144 additions and 41 deletions

View File

@@ -24,20 +24,6 @@ import org.apache.tools.ant.taskdefs.optional.junit.JUnitTest;
*/
public class AntJunitLanucher {
/**
* Deletes the given file recursively
*
* @param f
* the file to delete
*/
static void deleteFile(File f) {
if (f.isDirectory()) {
for (File c : f.listFiles())
deleteFile(c);
}
f.delete();
}
public static void main(String... args) {
if (args.length == 0) {
String path = String.format("%s/%s",
@@ -46,9 +32,6 @@ public class AntJunitLanucher {
Project project = new Project();
try {
// Delete the the old test directory if it exists
deleteFile(new File(pathToReports));
// Create the file to store the test output
new File(pathToReports).mkdirs();
JUnitTask task = new JUnitTask();