diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-10-03 10:41:08 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-10-03 15:41:40 +0200 |
| commit | 4ee7739d78889cef33d0c60a870922398e0b5e31 (patch) | |
| tree | c5c2280dea2fccedcd3308937af4305e25778517 | |
| parent | b8d17736ce2c85174a47c7200ef6d19a51d0c347 (diff) | |
| download | nissy-core-4ee7739d78889cef33d0c60a870922398e0b5e31.tar.gz nissy-core-4ee7739d78889cef33d0c60a870922398e0b5e31.zip | |
Made test 120 (gendata h0k4) faster
The test is still slow (around 25 seconds on gazelle). This is probably
because of how sanitizers interact with multi-threading, and the fact
that there is a lot of locking going on.
| -rwxr-xr-x | configure.sh | 2 | ||||
| -rw-r--r-- | test/120_gendata_h48h0k4/00_h_0.in | 2 | ||||
| -rw-r--r-- | test/120_gendata_h48h0k4/00_h_0.out | 1 |
3 files changed, 2 insertions, 3 deletions
diff --git a/configure.sh b/configure.sh index 2b2f40b..026d450 100755 --- a/configure.sh +++ b/configure.sh | |||
| @@ -85,7 +85,7 @@ validatethreads | |||
| 85 | validatearch | 85 | validatearch |
| 86 | 86 | ||
| 87 | STD="-std=c11" | 87 | STD="-std=c11" |
| 88 | WFLAGS="-pedantic -Wall -Wextra" | 88 | WFLAGS="-pedantic -Wall -Wextra -Werror" |
| 89 | WNOFLAGS="-Wno-unused-parameter -Wno-unused-function -Wno-unknown-pragmas" | 89 | WNOFLAGS="-Wno-unused-parameter -Wno-unused-function -Wno-unknown-pragmas" |
| 90 | 90 | ||
| 91 | [ "$ARCH" = "AVX2" ] && AVX="-mavx2" | 91 | [ "$ARCH" = "AVX2" ] && AVX="-mavx2" |
diff --git a/test/120_gendata_h48h0k4/00_h_0.in b/test/120_gendata_h48h0k4/00_h_0.in index cb6e5ed..661d826 100644 --- a/test/120_gendata_h48h0k4/00_h_0.in +++ b/test/120_gendata_h48h0k4/00_h_0.in | |||
| @@ -1,2 +1,2 @@ | |||
| 1 | 5 | 1 | 4 |
| 2 | 0 | 2 | 0 |
diff --git a/test/120_gendata_h48h0k4/00_h_0.out b/test/120_gendata_h48h0k4/00_h_0.out index 7d70463..6ca64de 100644 --- a/test/120_gendata_h48h0k4/00_h_0.out +++ b/test/120_gendata_h48h0k4/00_h_0.out | |||
| @@ -20,4 +20,3 @@ h48: | |||
| 20 | 2: 4 | 20 | 2: 4 |
| 21 | 3: 34 | 21 | 3: 34 |
| 22 | 4: 331 | 22 | 4: 331 |
| 23 | 5: 3612 | ||
