diff options
Diffstat (limited to 'src/main.py')
| -rwxr-xr-x | src/main.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.py b/src/main.py index efdfc2f..1c652b6 100755 --- a/src/main.py +++ b/src/main.py @@ -50,6 +50,10 @@ def main(): shutil.copy(distutils.spawn.find_executable(cmd), os.path.join(config.EXECUTABLES_PATH, cmd)) + reference_args = os.environ.get("MINISHELL_TEST_ARGS") + if reference_args is not None: + config.REFERENCE_ARGS.extend(reference_args.split(',')) + config.VERBOSE_LEVEL = args.verbose if args.bonus or os.environ.get("MINISHELL_TEST_BONUS") == "yes": config.BONUS = True |
