diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2020-09-27 18:41:02 +0200 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2020-09-27 18:41:02 +0200 |
| commit | 6382d2b7c1910f29556b740513421b57da9c5a97 (patch) | |
| tree | 4e79e4b13226cd1b288486e2819368c767e55259 /src/config.py | |
| parent | 51857521f770caae7b36e3a36a30d5b6986e66d1 (diff) | |
| download | philosophers_test-6382d2b7c1910f29556b740513421b57da9c5a97.tar.gz philosophers_test-6382d2b7c1910f29556b740513421b57da9c5a97.tar.bz2 philosophers_test-6382d2b7c1910f29556b740513421b57da9c5a97.zip | |
Added custom Exception with more descriptive error message
Diffstat (limited to 'src/config.py')
| -rw-r--r-- | src/config.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/config.py b/src/config.py index 3da1285..1235307 100644 --- a/src/config.py +++ b/src/config.py @@ -6,7 +6,7 @@ # By: charles <me@cacharle.xyz> +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2020/09/27 11:05:38 by charles #+# #+# # -# Updated: 2020/09/27 11:51:41 by charles ### ########.fr # +# Updated: 2020/09/27 18:00:53 by charles ### ########.fr # # # # ############################################################################ # @@ -23,6 +23,12 @@ BUILD_BEFORE = True # `{path}` is replaced by the philosophers directory (e.g `../philo_one` `../philo_two`) BUILD_CMD = "make --no-print-directory -C {path}" +# Timeout for non infinite test +TIMEOUT = 2 + +# Timeout for infinite test +INFINITE_TIMEOUT = 1 + ################################################################################ # Do not edit ################################################################################ |
