From df58bbf978101d44078d92e2687555337be97f46 Mon Sep 17 00:00:00 2001 From: Loup Vaillant Date: Sun, 19 Feb 2023 18:26:16 +0100 Subject: [PATCH] Fix speed tests --- .github/workflows/ci.yml | 4 +++- tests/speed/makefile | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 80edc0c..3eb6852 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -102,7 +102,9 @@ jobs: run: make clean && make tis-ci -j4 - name: Run speed tests - run: make clean && make speed -j4 + run: | + cd tests/speed + make -j4 - name: Run code coverage tests run: ./tests/coverage.sh diff --git a/tests/speed/makefile b/tests/speed/makefile index 32d6559..c309865 100644 --- a/tests/speed/makefile +++ b/tests/speed/makefile @@ -132,7 +132,7 @@ donna.o: ../externals/ed25519-donna/ed25519.c $(DONNA_HEADERS) ## Speed benchmarks ## ###################### speed.o : speed.c speed.h ../utils.h - $(CC) -c $(CFLAGS) $< -o $@ -I .. + $(CC) -c $(CFLAGS) $< -o $@ -I .. -I ../../src/ -I ../../src/optional speed-sodium.o : speed-sodium.c speed.h ../utils.h $(CC) -c $(CFLAGS) $< -o $@ -I .. speed-hydrogen.o : speed-hydrogen.c speed.h ../utils.h -- 2.47.3