File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -1171,8 +1171,6 @@ def add_testdata_to_cache():
1171
1171
# Step 2: generate .in if needed (and possible other files)
1172
1172
if not generate_from_rule ():
1173
1173
return
1174
- if not generate_empty_interactive_sample_ans ():
1175
- return
1176
1174
1177
1175
if infile .is_file ():
1178
1176
# Step 3: check .in if needed
@@ -1192,7 +1190,11 @@ def add_testdata_to_cache():
1192
1190
if not generate_visualization ():
1193
1191
return
1194
1192
1195
- # Step 7: copy all generated files
1193
+ # Step 7: for interactive and/or multi-pass samples, generate empty .ans if it does not exist
1194
+ if not generate_empty_interactive_sample_ans ():
1195
+ return
1196
+
1197
+ # Step 8: copy all generated files
1196
1198
copy_generated ()
1197
1199
1198
1200
# Note that we set this to true even if not all files were overwritten -- a different log/warning message will be displayed for that.
You can’t perform that action at this time.
0 commit comments