summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/CTest/cmCTestBatchTestHandler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestBatchTestHandler.cxx b/Source/CTest/cmCTestBatchTestHandler.cxx
index 03c9e1c..f8d5b80 100644
--- a/Source/CTest/cmCTestBatchTestHandler.cxx
+++ b/Source/CTest/cmCTestBatchTestHandler.cxx
@@ -59,7 +59,7 @@ void cmCTestBatchTestHandler::WriteSrunArgs(int test, std::fstream& fout)
this->Properties[test];
fout << "srun --jobid=" << test << " ";
- fout << "J=" << properties->Name << " ";
+ fout << "-J=" << properties->Name << " ";
//Write dependency information
if(this->Tests[test].size() > 0)