Fix #1785: remove unused PWNDBG_GITHUB_ACTIONS_TEST_RUN (#1786)

This commit is contained in:
Disconnect3d 2023-07-06 02:33:36 +02:00 committed by GitHub
parent d7d54cb895
commit cc13296abe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 4 deletions

View File

@ -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'

View File

@ -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):
"""