mirror of
https://github.com/valitydev/riak_test.git
synced 2024-11-07 00:55:21 +00:00
Cleanup from previous python test runs
This commit is contained in:
parent
c8c5226aea
commit
725b8871ce
@ -34,6 +34,12 @@ confirm() ->
|
||||
pass.
|
||||
|
||||
prereqs() ->
|
||||
%% Cleanup from previous test runs as it causes a
|
||||
%% virtualenv caremad explosion if it already exists
|
||||
lager:info("[PREREQ] Cleaning up python scratch directory"),
|
||||
CleanupCMD = io_lib:format("rm -rf ~s", [?PYTHON_CHECKOUT]),
|
||||
os:cmd(CleanupCMD),
|
||||
|
||||
%% Need python, yo
|
||||
lager:info("[PREREQ] Checking for presence of python"),
|
||||
?assertNot(length(os:cmd("which python")) =:= 0),
|
||||
|
Loading…
Reference in New Issue
Block a user