From 6382d2b7c1910f29556b740513421b57da9c5a97 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Sun, 27 Sep 2020 18:41:02 +0200 Subject: Added custom Exception with more descriptive error message --- src/config.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/config.py') 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 +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # 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 ################################################################################ -- cgit