From: Arnaud Giersch Date: Wed, 3 Apr 2019 12:50:36 +0000 (+0200) Subject: Fix the fixme the obvious way. X-Git-Tag: v3.22.2~194 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/578bed66470a134ca18b1165ec11347fff7eb236 Fix the fixme the obvious way. --- diff --git a/src/simix/simcalls.py b/src/simix/simcalls.py index 99d27d869c..a650164384 100755 --- a/src/simix/simcalls.py +++ b/src/simix/simcalls.py @@ -8,7 +8,7 @@ import re import glob - +import sys class Arg(object): @@ -274,10 +274,9 @@ if __name__ == '__main__': ok &= all(map(Simcall.check, simcalls)) for k, v in simcalls_dict.items(): ok &= all(map(Simcall.check, v)) - # FIXME: we should not hide it - # if not ok: - # print ("Some checks fail!") - # sys.exit(1) + if not ok: + print ("Some checks fail!") + sys.exit(1) # # popping_accessors.hpp