File tree 1 file changed +3
-15
lines changed
test/aml_comparisons/scripts
1 file changed +3
-15
lines changed Original file line number Diff line number Diff line change @@ -337,22 +337,10 @@ if __name__ == "__main__":
337
337
else :
338
338
ntrials = 1
339
339
340
- build_dir = None
341
- if os .path .exists ("coek/coek_writer" ):
342
- build_dir = "."
343
- elif os .path .exists (
344
- os .path .join (currdir , "../../../_build/test/aml_comparisons/coek/coek_writer" )
345
- ):
346
- build_dir = os .path .join (currdir , "../../../_build" )
347
- if build_dir is None :
348
- print ("Cannot find Coek build directory" )
349
- print (
350
- os .path .join (
351
- currdir , "../../../_build/test/aml_comparisons/coek/coek_writer"
352
- )
353
- )
340
+ if not os .path .exists ("test/aml_comparisons/coek/coek_writer" ):
341
+ print ("Must execute 'run' in the coek build directory" )
354
342
sys .exit (1 )
355
- build_dir = os .path .abspath (build_dir )
343
+ build_dir = os .path .abspath ("." )
356
344
357
345
errors = []
358
346
You can’t perform that action at this time.
0 commit comments