Compare commits
1 Commits
main
...
testing_pp
Author | SHA1 | Date | |
---|---|---|---|
|
59852b5e71 |
@ -191,7 +191,7 @@ before_script:
|
|||||||
- ulimit -n 8192
|
- ulimit -n 8192
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- ${CXX} --version
|
- date; ${CXX} --version
|
||||||
- if [ `command -v ccache` ]; then ccache -C; fi
|
- if [ `command -v ccache` ]; then ccache -C; fi
|
||||||
- case $TEST_GROUP in
|
- case $TEST_GROUP in
|
||||||
platform_dependent)
|
platform_dependent)
|
||||||
|
6
Makefile
6
Makefile
@ -943,7 +943,7 @@ check: all
|
|||||||
$(MAKE) T="$$t" TMPD=$(TMPD) check_0; \
|
$(MAKE) T="$$t" TMPD=$(TMPD) check_0; \
|
||||||
else \
|
else \
|
||||||
for t in $(TESTS); do \
|
for t in $(TESTS); do \
|
||||||
echo "===== Running $$t"; ./$$t || exit 1; done; \
|
echo "===== Running $$t (`date`)"; ./$$t || exit 1; done; \
|
||||||
fi
|
fi
|
||||||
rm -rf $(TMPD)
|
rm -rf $(TMPD)
|
||||||
ifneq ($(PLATFORM), OS_AIX)
|
ifneq ($(PLATFORM), OS_AIX)
|
||||||
@ -956,7 +956,7 @@ endif
|
|||||||
|
|
||||||
# TODO add ldb_tests
|
# TODO add ldb_tests
|
||||||
check_some: $(SUBSET)
|
check_some: $(SUBSET)
|
||||||
for t in $(SUBSET); do echo "===== Running $$t"; ./$$t || exit 1; done
|
for t in $(SUBSET); do echo "===== Running $$t (`date`)"; ./$$t || exit 1; done
|
||||||
|
|
||||||
.PHONY: ldb_tests
|
.PHONY: ldb_tests
|
||||||
ldb_tests: ldb
|
ldb_tests: ldb
|
||||||
@ -1062,7 +1062,7 @@ ifneq ($(PAR_TEST),)
|
|||||||
parloop:
|
parloop:
|
||||||
ret_bad=0; \
|
ret_bad=0; \
|
||||||
for t in $(PAR_TEST); do \
|
for t in $(PAR_TEST); do \
|
||||||
echo "===== Running $$t in parallel $(NUM_PAR)";\
|
echo "===== Running $$t in parallel $(NUM_PAR) (`date`)";\
|
||||||
if [ $(db_test) -eq 1 ]; then \
|
if [ $(db_test) -eq 1 ]; then \
|
||||||
seq $(J) | v="$$t" build_tools/gnu_parallel --gnu --plain 's=$(TMPD)/rdb-{}; export TEST_TMPDIR=$$s;' \
|
seq $(J) | v="$$t" build_tools/gnu_parallel --gnu --plain 's=$(TMPD)/rdb-{}; export TEST_TMPDIR=$$s;' \
|
||||||
'timeout 2m ./db_test --gtest_filter=$$v >> $$s/log-{} 2>1'; \
|
'timeout 2m ./db_test --gtest_filter=$$v >> $$s/log-{} 2>1'; \
|
||||||
|
Loading…
Reference in New Issue
Block a user