all repos — tint2 @ 078601643642cd4d6c11bae82a465cca82d036b3

fork of the tint2 desktop panel for my custom setup - only minimized windows across all desktops for the taskbar

Regression tests
o9000 mrovi9000@gmail.com
commit

078601643642cd4d6c11bae82a465cca82d036b3

parent

f67b5db2f9175e7e67a95fcde563081e5463e3b9

1 files changed, 16 insertions(+), 8 deletions(-)

jump to
M test/regression.pytest/regression.py

@@ -21,11 +21,17 @@ ok = ":white_check_mark:"

warning = ":warning:" error = ":negative_squared_cross_mark:" stress_duration = 10 +repeats = 10 def print(*args, **kwargs): - r = __builtin__.print(*args, **kwargs) - __builtin__.print("\n", end="") + if "end" not in kwargs: + kwargs["end"] = "" + r = __builtin__.print(*args, **kwargs) + __builtin__.print(" ") + else: + r = __builtin__.print(*args, **kwargs) + __builtin__.print("\n", end="") return r

@@ -207,21 +213,21 @@ if diff or diff_staged:

print("Repository not clean", warning) if diff: print("Diff:") - print("```" + diff + "```") + print("```\n" + diff + "\n```") if diff_staged: print("Diff staged:") - print("```" + diff_staged + "```") + print("```\n" + diff_staged + "\n```") def show_system_info(): out, _ = run("lsb_release -sd", True).communicate() - out.strip() + out = out.strip() print("System:", out) out, _ = run("cat /proc/cpuinfo | grep 'model name' | head -n1 | cut -d ':' -f2", True).communicate() - out.strip() + out = out.strip() print("Hardware:", out) out, _ = run("cc --version | head -n1", True).communicate() - out.strip() + out = out.strip() print("Compiler:", out)

@@ -253,7 +259,8 @@

def run_test(config, index): print("# Test", index) print("Config: [{0}]({1})".format(config.split("/")[-1].replace(".tint2rc", ""), "https://gitlab.com/o9000/tint2/blob/master/test/" + config)) - test("./build/tint2", config) + for i in range(repeats): + test("./build/tint2", config) def run_tests():

@@ -264,6 +271,7 @@ index = 0

for config in configs: index += 1 run_test(config, index) + print("") def get_default_src_dir():