File tree 2 files changed +7
-6
lines changed
2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ echo "Setting the BUILD_CACHE_DIR env var to a temp directory will"
9
9
echo " potentially speed up subsequent runs.\n"
10
10
11
11
12
- cd " $BASEDIR /vb_suite/"
13
- python test_perf.py $@
12
+ # cd "$BASEDIR/vb_suite/"
13
+ python " $BASEDIR " /vb_suite/ test_perf.py $@
14
14
15
- cd " $CURDIR "
15
+ # cd "$CURDIR"
Original file line number Diff line number Diff line change @@ -232,22 +232,23 @@ def main():
232
232
args .log_file = os .path .abspath (
233
233
os .path .join (REPO_PATH , 'vb_suite.log' ))
234
234
235
+ saved_dir = os .path .abspath (os .curdir )
235
236
if args .outdf :
236
237
# not bullet-proof but enough for us
237
238
if os .path .sep not in args .outdf :
238
- args .outdf = os .path .join (os . curdir , args .outdf )
239
+ args .outdf = os .path .join (saved_dir , args .outdf )
239
240
240
241
if args .log_file :
241
242
# not bullet-proof but enough for us
242
243
if os .path .sep not in args .log_file :
243
- args .log_file = os .path .join (os . curdir , args .log_file )
244
+ args .log_file = os .path .join (saved_dir , args .log_file )
244
245
245
246
random .seed (args .seed )
246
247
np .random .seed (args .seed )
247
248
248
249
prprint ("LOG_FILE = %s\n " % args .log_file )
249
250
250
- saved_dir = os . path . curdir
251
+
251
252
# move away from the pandas root dit, to avoid possible import
252
253
# surprises
253
254
os .chdir (os .path .dirname (os .path .abspath (__file__ )))
You can’t perform that action at this time.
0 commit comments