From cc13296abea7bfdb7371c5b51633c042214124b0 Mon Sep 17 00:00:00 2001 From: Disconnect3d Date: Thu, 6 Jul 2023 02:33:36 +0200 Subject: [PATCH] Fix #1785: remove unused PWNDBG_GITHUB_ACTIONS_TEST_RUN (#1786) --- .github/workflows/tests.yml | 2 +- tests/gdb-tests/tests/utils.py | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c47c3738..13290d13 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -37,7 +37,7 @@ jobs: run: | mkdir .cov sudo sysctl -w kernel.yama.ptrace_scope=0 - PWNDBG_GITHUB_ACTIONS_TEST_RUN=1 ./tests.sh --cov + ./tests.sh --cov - name: Process coverage data if: matrix.os == 'ubuntu-22.04' diff --git a/tests/gdb-tests/tests/utils.py b/tests/gdb-tests/tests/utils.py index d78c4ca3..635c387c 100644 --- a/tests/gdb-tests/tests/utils.py +++ b/tests/gdb-tests/tests/utils.py @@ -1,10 +1,7 @@ import codecs -import os import re import subprocess -launched_locally = not (os.environ.get("PWNDBG_GITHUB_ACTIONS_TEST_RUN")) - def run_gdb_with_script(binary="", core="", pybefore=None, pyafter=None, timeout=None): """