Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Lame attempt to hide problems on Jenkins.
[simgrid.git] / examples / python / exec-async / exec-async.py
index 1f74851..42313ea 100644 (file)
@@ -54,6 +54,8 @@ class Canceller:
 
 if __name__ == '__main__':
     e = Engine(sys.argv)
+    if len(sys.argv) < 2:
+        raise AssertionError("Usage: exec-async.py platform_file [other parameters]")
 
     e.load_platform(sys.argv[1])