diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2020-09-13 10:52:37 +0200 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2020-09-13 10:52:37 +0200 |
| commit | 740b810ab1aaa3506d004d01f21e3cfc270fbcfc (patch) | |
| tree | 6c1f77e7227156e70e1d7636d91c080060d65ec9 /src | |
| parent | 31e2aac7631f844349012f8d7122b1294c79fa53 (diff) | |
| download | minishell_test-740b810ab1aaa3506d004d01f21e3cfc270fbcfc.tar.gz minishell_test-740b810ab1aaa3506d004d01f21e3cfc270fbcfc.tar.bz2 minishell_test-740b810ab1aaa3506d004d01f21e3cfc270fbcfc.zip | |
Added environment variable for bonus test
Diffstat (limited to 'src')
| -rwxr-xr-x | src/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.py b/src/main.py index 9b49ce8..efdfc2f 100755 --- a/src/main.py +++ b/src/main.py @@ -51,7 +51,7 @@ def main(): os.path.join(config.EXECUTABLES_PATH, cmd)) config.VERBOSE_LEVEL = args.verbose - if args.bonus: + if args.bonus or os.environ.get("MINISHELL_TEST_BONUS") == "yes": config.BONUS = True if args.no_bonus: config.BONUS = False |
