Add more support for Jenkins test names being different from TestON names
Example SRHAsanity is HAsanity with a different paramd file
Change-Id: Ibfdcbdbea83ef5017074e0e24677ed17f39e28f6
diff --git a/TestON/JenkinsFile/HAJenkinsFile b/TestON/JenkinsFile/HAJenkinsFile
index cb407ab..1eae790 100644
--- a/TestON/JenkinsFile/HAJenkinsFile
+++ b/TestON/JenkinsFile/HAJenkinsFile
@@ -54,7 +54,8 @@
for ( String test : HA.keySet() ){
toBeRun = testsToRun.contains( test )
def stepName = ( toBeRun ? "" : "Not " ) + "Running $test"
- tests[ stepName ] = funcs.runTest( test, toBeRun, prop, test, false,
+ def pureTestName = HA[ test ][ "test" ].split().head()
+ tests[ stepName ] = funcs.runTest( test, toBeRun, prop, pureTestName, false,
HA, graph_generator_file, graph_saved_directory )
}