diff --git a/packager/app/test/packager_app.py b/packager/app/test/packager_app.py index 26ffe0a73b..43306a747f 100644 --- a/packager/app/test/packager_app.py +++ b/packager/app/test/packager_app.py @@ -19,7 +19,7 @@ class PackagerApp(object): """Main integration class for testing the packager binary.""" def __init__(self): - self.build_dir = os.path.join(test_env.SRC_DIR, 'out', + self.build_dir = os.path.join(test_env.OUT_DIR, test_env.options.build_type) self.binary = os.path.join(self.build_dir, 'packager') diff --git a/packager/app/test/test_env.py b/packager/app/test/test_env.py index dfd9a2961e..bc4f86e715 100644 --- a/packager/app/test/test_env.py +++ b/packager/app/test/test_env.py @@ -21,7 +21,7 @@ import sys # Define static global objects and attributes. SRC_DIR = os.path.join(os.path.dirname(os.path.realpath(__file__)), '../../..') - +OUT_DIR = os.path.join(SRC_DIR, os.getenv('builddir_name', 'out')) # Parse arguments and calculate dynamic global objects and attributes. parser = argparse.ArgumentParser()