all repos — tint2 @ 6f968184380e845fffd8663373e6e2b89fee9c71

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

Regression testing
o9000 mrovi9000@gmail.com
commit

6f968184380e845fffd8663373e6e2b89fee9c71

parent

6433767a9895a81952770f57c5da0397dd384081

1 files changed, 6 insertions(+), 0 deletions(-)

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

@@ -62,6 +62,7 @@ n -= 1

def install_deps_ubuntu(): + print_err("Installing dependencies...") p = run(["sudo", "bash", "-c", "apt-get update; apt-get -y build-dep tint2; apt-get install -y git xvfb xsettingsd openbox compton x11-utils gnome-calculator"]) out, _ = p.communicate() if p.returncode != 0:

@@ -244,6 +245,7 @@ print("Compiler:", out)

def compile_and_report(src_dir): + print_err("Compiling...") print("# Compilation") cmake_flags = "-DCMAKE_BUILD_TYPE=Debug -DENABLE_ASAN=ON '-DCMAKE_CXX_FLAGS_DEBUG=-O0 -g3 -gdwarf-2 -fsanitize=address -fno-common -fno-omit-frame-pointer -rdynamic -Wshadow' '-DCMAKE_EXE_LINKER_FLAGS=-O0 -g3 -gdwarf-2 -fsanitize=address -fno-common -fno-omit-frame-pointer -rdynamic -fuse-ld=gold'" print("Flags:", cmake_flags)

@@ -269,6 +271,7 @@ print("Status: Succeeded in %.1f seconds" % (duration,), ok)

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

@@ -276,6 +279,7 @@ test("./build/tint2", config)

def run_tests(): + print_err("Running tests...") configs = [] configs += ["./configs/tint2/" +s for s in os.listdir("./configs/tint2") ] configs += ["../themes/" + s for s in os.listdir("../themes")]

@@ -291,6 +295,7 @@ return os.path.realpath(os.path.dirname(os.path.realpath(__file__)) + "/../")

def check_busy(): + print_err("Checking if system is busy...") out, _ = run("top -bn5 | grep 'Cpu(s)' | grep -o '[0-9\.]* id' | cut -d ' ' -f 1", True).communicate() load_samples = [] for line in out.split("\n"):

@@ -304,6 +309,7 @@ raise RuntimeError("The system appears busy. Load: %f.1%%." % (load,))

def checkout(version): + print_err("Checking out tint2 version", version, "...") p = run("rm -rf tmpclone; git clone https://gitlab.com/o9000/tint2.git tmpclone; cd tmpclone; git checkout {0}".format(version), True) out, _ = p.communicate() if p.returncode != 0: