From 1c2f1de3a49108ea67f07449032d9fbbc609c796 Mon Sep 17 00:00:00 2001 From: Michael Rumpler Date: Tue, 15 Jun 2021 13:57:49 +0200 Subject: [PATCH] fix: Update venv and test-discovery Makefile targets --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 7ca1c06a18..cf14522f92 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ all: test update-test-discovery: - @perl -ne 'print if s/SENTRY_TEST\(([^)]+)\)/XX(\1)/' tests/unit/*.c | sort | uniq > tests/unit/tests.inc + @perl -ne 'print if s/SENTRY_TEST\(([^)]+)\)/XX(\1)/' tests/unit/*.c | sort | grep -v define | uniq > tests/unit/tests.inc .PHONY: update-test-discovery build/Makefile: CMakeLists.txt @@ -55,8 +55,7 @@ setup-venv: .venv/bin/python .venv/bin/python: Makefile tests/requirements.txt @rm -rf .venv - @which virtualenv || sudo pip install virtualenv - virtualenv -p python3 .venv + python3 -m venv .venv .venv/bin/pip install --upgrade --requirement tests/requirements.txt format: setup-venv