A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tesh: display the run command ASAP, not after its timeout
[simgrid.git]
/
tools
/
tesh
/
tesh.py
diff --git
a/tools/tesh/tesh.py
b/tools/tesh/tesh.py
index
9a4f924
..
bf95860
100755
(executable)
--- a/
tools/tesh/tesh.py
+++ b/
tools/tesh/tesh.py
@@
-354,8
+354,8
@@
class Cmd:
self.args += TeshState().args_suffix
logs = list()
self.args += TeshState().args_suffix
logs = list()
-
logs.append
("[{file}:{number}] {args}".format(file=FileReader().filename,
- number=self.linenumber, args=self.args))
+
print
("[{file}:{number}] {args}".format(file=FileReader().filename,
+ number=self.linenumber, args=self.args)
, flush=True
)
args = shlex.split(self.args)
args = shlex.split(self.args)
@@
-710,7
+710,16
@@
def main():
cmd.add_ignore(line[len("! ignore "):])
else:
cmd.add_ignore(line[len("! ignore "):])
else:
- fatal_error(f"UNRECOGNIZED OPTION LINE: {line}")
+ fatal_error(f"UNRECOGNIZED OPTION LINE: {line}\n"
+ "Valid requests:\n"
+ " ! output ignore\n"
+ " ! output sort\n"
+ " ! output display\n"
+ " ! setenv XX=YY\n"
+ " ! ignore XYZ\n"
+ " ! expect return NN\n"
+ " ! expect signal NN\n"
+ " ! timeout NN\n")
line = file.readfullline()
line = file.readfullline()