File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -266,15 +266,6 @@ bool cmCTestSubmitHandler::SubmitUsingHTTP(
266
266
}
267
267
}
268
268
269
- upload_as += " &MD5=" ;
270
-
271
- if (cmSystemTools::IsOn (this ->GetOption (" InternalTest" ))) {
272
- upload_as += " bad_md5sum" ;
273
- } else {
274
- upload_as +=
275
- cmSystemTools::ComputeFileHash (local_file, cmCryptoHash::AlgoMD5);
276
- }
277
-
278
269
// Generate Done.xml right before it is submitted.
279
270
// The reason for this is two-fold:
280
271
// 1) It must be generated after some other part has been submitted
@@ -286,6 +277,15 @@ bool cmCTestSubmitHandler::SubmitUsingHTTP(
286
277
this ->CTest ->GenerateDoneFile ();
287
278
}
288
279
280
+ upload_as += " &MD5=" ;
281
+
282
+ if (cmSystemTools::IsOn (this ->GetOption (" InternalTest" ))) {
283
+ upload_as += " bad_md5sum" ;
284
+ } else {
285
+ upload_as +=
286
+ cmSystemTools::ComputeFileHash (local_file, cmCryptoHash::AlgoMD5);
287
+ }
288
+
289
289
if (!cmSystemTools::FileExists (local_file)) {
290
290
cmCTestLog (this ->CTest , ERROR_MESSAGE,
291
291
" Cannot find file: " << local_file << std::endl);
You can’t perform that action at this time.
0 commit comments