summaryrefslogtreecommitdiff
path: root/CC/test
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2023-08-29 17:51:30 +0200
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2023-08-29 17:51:30 +0200
commit5a365857fb8edb719b687b989351287b0ae09532 (patch)
tree82881ad0e7f26a845e2c19aa7f1db5382cf03b41 /CC/test
parent764d38fbebe1cb82ff9c309b33478575357e98de (diff)
parentf41343abe847fa88a4cbb46d856bfc44efa8595a (diff)
downloadrules-cc-5a365857fb8edb719b687b989351287b0ae09532.tar.gz
Merge branch 'just-rules' into rules
Diffstat (limited to 'CC/test')
-rwxr-xr-xCC/test/runner12
1 files changed, 6 insertions, 6 deletions
diff --git a/CC/test/runner b/CC/test/runner
index 0647621..fc1f04c 100755
--- a/CC/test/runner
+++ b/CC/test/runner
@@ -18,14 +18,14 @@ import os
import subprocess
import time
-time_start = time.time()
-time_stop = 0
-result = "UNKNOWN"
-stderr = ""
-stdout = ""
+time_start: float = time.time()
+time_stop: float = 0
+result: str = "UNKNOWN"
+stderr: str = ""
+stdout: str = ""
-def dump_results():
+def dump_results() -> None:
with open("result", "w") as f:
f.write("%s\n" % (result, ))
with open("time-start", "w") as f: