]> granicus.if.org Git - re2c/commitdiff
Added build script that uses '-D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC'.
authorUlya Trofimovich <skvadrik@gmail.com>
Sat, 9 Feb 2019 18:18:48 +0000 (18:18 +0000)
committerUlya Trofimovich <skvadrik@gmail.com>
Sat, 9 Feb 2019 18:20:23 +0000 (18:20 +0000)
re2c/__alltest.sh
re2c/__build_glibcxx_debug.sh [new file with mode: 0755]

index 1782cc818e2ca5a142e05defb23c9ca98c0ef677..931c097c49dc0510992cae039a2fa6bd3d35db41 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 # normal tests
-for d in __build{,_asan,_ubsan,_lsan,_clang,_clang_msan,_m32} ; do
+for d in __build{,_asan,_ubsan,_lsan,_clang,_clang_msan,_m32,_glibcxx_debug} ; do
     ./${d}.sh \
         && cd ${d} \
         && make check VERBOSE=1 \
diff --git a/re2c/__build_glibcxx_debug.sh b/re2c/__build_glibcxx_debug.sh
new file mode 100755 (executable)
index 0000000..ebb435a
--- /dev/null
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+builddir=__build_glibcxx_debug
+rm -rf $builddir
+mkdir $builddir
+
+cd $builddir
+../configure \
+    --enable-debug \
+    --enable-libs \
+    CXXFLAGS="-D_GLIBCXX_DEBUG -D_GLIBCXX_DEBUG_PEDANTIC" \
+    && make -j5
+cd ..