Skip to content

Commit

Permalink
remove address sanitizer from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Sawwave committed Feb 16, 2024
1 parent 83ec4a4 commit ed2df43
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 16 deletions.
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,7 @@ brew install gcc
```


After cloning the repo, you should initialize and update the submodules. This will happen
automatically if you use the legacy build system, but there is no harm in doing
it manually for either the CMake or legacy Make builds.

After cloning the repo, you should initialize and update the submodules.
```
git clone https://github.com/TravisWheelerLab/AvxWindowFmIndex.git
git submodule update --init --recursive --remote
Expand Down
2 changes: 1 addition & 1 deletion test/backtraceTest/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ TEST_SRC = backtraceTest.c
SRC = $(wildcard ../../src/*.c)


CFLAGS = -std=c11 -fsanitize=address -Wall -mtune=native -fopenmp -mavx2 -O3
CFLAGS = -std=c11 -Wall -mtune=native -fopenmp -mavx2 -O3
LDFLAGS = -L../../build
LDLIBS = -lfastavector_static -ldivsufsort64

Expand Down
2 changes: 1 addition & 1 deletion test/bwtTest/makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
TEST_SRC = bwtTest.c
SRC = $(wildcard ../../src/*.c)

CFLAGS = -std=c11 -fsanitize=address -Wall -mtune=native -fopenmp -mavx2 -O3
CFLAGS = -std=c11 -Wall -mtune=native -fopenmp -mavx2 -O3
LDLIBS = ../../build/libfastavector_static.a ../../build/libdivsufsort64.a

EXE = bwtTest.out
Expand Down
2 changes: 1 addition & 1 deletion test/createTests/makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
TEST_SRC = AwFmCreationTest.c
SRC = $(wildcard ../../src/*.c)

CFLAGS = -std=c11 -fsanitize=address -Wall -mtune=native -fopenmp -mavx2 -O3
CFLAGS = -std=c11 -Wall -mtune=native -fopenmp -mavx2 -O3
LDLIBS = ../../build/libfastavector_static.a ../../build/libdivsufsort64.a

EXE = createTest.out
Expand Down
2 changes: 1 addition & 1 deletion test/fileTests/makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
TEST_SRC = AwFmFileTests.c
SRC = $(wildcard ../../src/*.c)

CFLAGS = -std=c11 -fsanitize=address -Wall -mtune=native -fopenmp -mavx2 -O3
CFLAGS = -std=c11 -Wall -mtune=native -fopenmp -mavx2 -O3
LDLIBS = ../../build/libfastavector_static.a ../../build/libdivsufsort64.a

EXE = fileTests.out
Expand Down
2 changes: 1 addition & 1 deletion test/inMemorySaTest/makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
TEST_SRC = inMemorySaTest.c
SRC = $(wildcard ../../src/*.c)

CFLAGS = -std=c11 -fsanitize=address -Wall -mtune=native -fopenmp -mavx2 -O3
CFLAGS = -std=c11 -Wall -mtune=native -fopenmp -mavx2 -O3
LDLIBS = ../../build/libfastavector_static.a ../../build/libdivsufsort64.a

EXE = saInMemTest.out
Expand Down
2 changes: 1 addition & 1 deletion test/kmerSeedTableTests/makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
TEST_SRC = kmerSeedTableTests.c
SRC = $(wildcard ../../src/*.c)

CFLAGS = -std=c11 -fsanitize=address -Wall -mtune=native -fopenmp -mavx2 -O3
CFLAGS = -std=c11 -Wall -mtune=native -fopenmp -mavx2 -O3
LDLIBS = ../../build/libfastavector_static.a ../../build/libdivsufsort64.a

EXE = kmerSeedTableTests.out
Expand Down
2 changes: 1 addition & 1 deletion test/letterTest/makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
TEST_SRC = AwFmLetterTest.c
SRC = $(wildcard ../../src/*.c)

CFLAGS = -std=c11 -fsanitize=address -Wall -mtune=native -fopenmp -mavx2 -O3
CFLAGS = -std=c11 -Wall -mtune=native -fopenmp -mavx2 -O3
LDLIBS = ../../lib/FastaVector/build/libfastavector_static.a ../../lib/libdivsufsort/build/lib/libdivsufsort64.a

EXE = letterTest.out
Expand Down
2 changes: 1 addition & 1 deletion test/multiSequenceIndexTest/makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
TEST_SRC = AwFmMultiSequenceTest.c
SRC = $(wildcard ../../src/*.c)

CFLAGS = -std=c11 -fsanitize=address -Wall -mtune=native -fopenmp -mavx2 -O0 -g
CFLAGS = -std=c11 -Wall -mtune=native -fopenmp -mavx2 -O0 -g
LDLIBS = ../../build/libfastavector_static.a ../../build/libdivsufsort64.a

EXE = multiSequenceTest.out
Expand Down
2 changes: 1 addition & 1 deletion test/occurrenceTests/makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
TEST_SRC = occurrenceTests.c
SRC = $(wildcard ../../src/*.c)

CFLAGS = -std=c11 -fsanitize=address -Wall -mtune=native -fopenmp -mavx2 -O0 -g
CFLAGS = -std=c11 -Wall -mtune=native -fopenmp -mavx2 -O0 -g
LDLIBS = ../../build/libfastavector_static.a ../../build/libdivsufsort64.a

EXE = occurrenceTests.out
Expand Down
2 changes: 1 addition & 1 deletion test/parallelSearch/makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
TEST_SRC = parallelSearchTest.c
SRC = $(wildcard ../../src/*.c)

CFLAGS = -std=c11 -fsanitize=address -Wall -mtune=native -fopenmp -mavx2 -O0 -g
CFLAGS = -std=c11 -Wall -mtune=native -fopenmp -mavx2 -O0 -g
LDLIBS = ../../build/libfastavector_static.a ../../build/libdivsufsort64.a

EXE = parallelSearchTest.out
Expand Down
2 changes: 1 addition & 1 deletion test/searchTest/makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
TEST_SRC = searchTest.c
SRC = $(wildcard ../../src/*.c)

CFLAGS = -std=c11 -fsanitize=address -Wall -mtune=native -fopenmp -mavx2 -O0 -g
CFLAGS = -std=c11 -Wall -mtune=native -fopenmp -mavx2 -O0 -g
LDLIBS = ../../build/libfastavector_static.a ../../build/libdivsufsort64.a

EXE = searchTest.out
Expand Down
2 changes: 1 addition & 1 deletion test/suffixArrayCompressionTests/makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
TEST_SRC = saTest.c
SRC = $(wildcard ../../src/*.c)

CFLAGS = -std=c11 -fsanitize=address -Wall -mtune=native -fopenmp -mavx2 -O0 -g
CFLAGS = -std=c11 -Wall -mtune=native -fopenmp -mavx2 -O0 -g
LDLIBS = ../../build/libfastavector_static.a ../../build/libdivsufsort64.a

EXE = saTest.out
Expand Down

0 comments on commit ed2df43

Please sign in to comment.