X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=rwlaunchpad%2Ftest%2Flaunchpad.py;h=53e4d361e6ee8dc65bf62b95f33efcd83d0f5ae4;hb=f04e0aed7b77ad8833fa18ee083b5332bdb0da20;hp=803679280dba34ecce294a6920384d075d505dc8;hpb=07da3570c19de04f015ade251dba8412daf2e280;p=osm%2FSO.git diff --git a/rwlaunchpad/test/launchpad.py b/rwlaunchpad/test/launchpad.py index 80367928..53e4d361 100755 --- a/rwlaunchpad/test/launchpad.py +++ b/rwlaunchpad/test/launchpad.py @@ -472,8 +472,9 @@ def main(argv=sys.argv[1:]): cleanup_dir_name = None - if os.environ["INSTALLDIR"] in ["/", "/home/rift", "/home/rift/.install"]: - cleanup_dir_name = os.environ["INSTALLDIR"] + "/" + if os.environ["INSTALLDIR"] in ["/", "/home/rift", "/home/rift/.install", + "/usr/rift/build/fc20_debug/install/usr/rift", "/usr/rift"]: + cleanup_dir_name = os.environ["INSTALLDIR"] + "/var/rift/" if args.test_name and not cleanup_dir_name: cleanup_dir_name = "find {rift_install}/var/rift -name '*{pattern}*' -type d".format( \ @@ -486,7 +487,8 @@ def main(argv=sys.argv[1:]): print ("Directory not found exception occurred. Probably running for first time") print ("Zookeper cleanup cmd = {}".format(cleanup_dir_name)) else: - cleanup_dir_name = os.environ["INSTALLDIR"] + "/" + if not cleanup_dir_name: + cleanup_dir_name = os.environ["INSTALLDIR"] + "/" # Remove the persistent Redis data try: