Fix syntax for grabbing TestOn test name
Change-Id: I353728a9d62d1edc5f5834442b0deb470528a754
diff --git a/TestON/JenkinsFile/SRHAJenkinsFile b/TestON/JenkinsFile/SRHAJenkinsFile
index b559676..2d3b2e1 100644
--- a/TestON/JenkinsFile/SRHAJenkinsFile
+++ b/TestON/JenkinsFile/SRHAJenkinsFile
@@ -59,7 +59,8 @@
for ( String test : SRHA.keySet() ){
toBeRun = testsToRun.contains( test )
def stepName = ( toBeRun ? "" : "Not " ) + "Running $test"
- tests[stepName] = funcs.runTest( test, toBeRun, prop, prop[ test ][ "test" ], false,
+ def pureTestName = SRHA[ test ][ "test" ].split().head()
+ tests[stepName] = funcs.runTest( test, toBeRun, prop, pureTestName, false,
SRHA, graph_generator_file, graph_saved_directory )
}