diff --git a/hwcompatible/compatibility.py b/hwcompatible/compatibility.py index 79bce2f26179d19532fb4d6abc58e39015b73df5..7ce4256bc200e0fca1a7953d04a8b2f497d0b702 100755 --- a/hwcompatible/compatibility.py +++ b/hwcompatible/compatibility.py @@ -353,14 +353,16 @@ class EulerCertification(): test["run"] = True continue - try: - num = int(reply) - except: - continue + num_lst = reply.split(" ") + for num in num_lst: + try: + num = int(num) + except: + continue - if num > 0 and num <= len(self.test_factory): - self.test_factory[num - 1]["run"] = not self.test_factory[num - 1]["run"] - continue + if num > 0 and num <= len(self.test_factory): + self.test_factory[num - 1]["run"] = not self.test_factory[num - 1]["run"] + continue def show_tests(self): """