commit fb7f72d56cacf27969718d0b1c5b980a422e81ef (tree)
parent 64a3ef606e41bd5ca362c5c9b24426a9c1f4520d
Author: Motiejus Jakštys <motiejus@uber.com>
Date: Wed, 19 Oct 2022 16:11:01 +0300
NTESTS: reduce from 96 to 16
Takes 2,5 minutes anyway.
Diffstat:
2 files changed, 2 insertions(+), 13 deletions(-)
diff --git a/BUILD b/BUILD
@@ -1,9 +1,9 @@
-NTESTS=96
+NTESTS=16
[
cc_binary(
name = "zigzag-{}".format(i),
- srcs = ["main.c"],
+ srcs = ["main.cc"],
copts = ["-DZIGZAG={}".format(i)],
) for i in range(NTESTS)
]
diff --git a/main.c b/main.c
@@ -1,11 +0,0 @@
-#include <stdio.h>
-#include <features.h>
-
-int main() {
- #ifdef __GLIBC__
- printf("glibc_%d.%d\n", __GLIBC__, __GLIBC_MINOR__);
- #else
- printf("non-glibc\n");
- #endif
- return 0;
-}