[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnurl] 204/254: coverage: run event tests too
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnurl] 204/254: coverage: run event tests too |
Date: |
Sat, 17 Jun 2017 16:53:56 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to annotated tag gnurl-7.54.1
in repository gnurl.
commit b5e143e7a562a6765077110fe60bccdb8b6bb7d2
Author: Daniel Stenberg <address@hidden>
AuthorDate: Fri Jun 2 09:25:02 2017 +0200
coverage: run event tests too
... the torture ones are commented out only because they are slooooow.
---
Makefile.am | 3 +++
scripts/coverage.sh | 5 +++++
tests/Makefile.am | 4 ++++
3 files changed, 12 insertions(+)
diff --git a/Makefile.am b/Makefile.am
index 510838317..6c1d9edff 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -202,6 +202,9 @@ test-nonflaky:
test-torture:
@(cd tests; $(MAKE) all torture-test)
+test-event:
+ @(cd tests; $(MAKE) all event-test)
+
test-am:
@(cd tests; $(MAKE) all am-test)
diff --git a/scripts/coverage.sh b/scripts/coverage.sh
index 5bed21cc4..86cd7a122 100755
--- a/scripts/coverage.sh
+++ b/scripts/coverage.sh
@@ -5,7 +5,12 @@ mkdir -p cvr
cd cvr
../configure --disable-shared --enable-debug --enable-maintainer-mode
--enable-code-coverage
make -sj
+# the regular test run
make TFLAGS=-n test-nonflaky
+# make all allocs/file operations fail
+#make TFLAGS=-n test-torture
+# do everything event-based
+make TFLAGS=-n test-event
lcov -d . -c -o cov.lcov
genhtml cov.lcov --output-directory coverage --title "curl code coverage"
tar -cjf curl-coverage.tar.bz2 coverage
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 7fddeb025..52eac3266 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -64,6 +64,7 @@ TEST_Q = -a -s
TEST_AM = -a -am
TEST_F = -a -p -r
TEST_T = -a -t
+TEST_E = -a -e
# !flaky means that it'll skip all tests using the flaky keyword
TEST_NF = -a -p -r !flaky
@@ -91,6 +92,9 @@ nonflaky-test: perlcheck all
torture-test: perlcheck all
$(TEST) $(TEST_T) $(TFLAGS)
+event-test: perlcheck all
+ $(TEST) $(TEST_E) $(TFLAGS)
+
.1.html:
$(MAN2HTML)
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnurl] 45/254: examples: declare TU-local variables static, (continued)
- [GNUnet-SVN] [gnurl] 45/254: examples: declare TU-local variables static, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 125/254: multi: assign IDs to all timers and make each timer singleton, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 155/254: cmake: Add CURL_CA_FALLBACK to curl_config.h.cmake, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 77/254: RELEASE-NOTES: synced with 862b02f89, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 189/254: examples/sampleconv.c: indent changes, made callbacks static, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 82/254: CURLINFO_EFFECTIVE_URL.3: add example, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 56/254: file: use private buffer for C-L output, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 166/254: redirect: store the "would redirect to" URL when max redirs is reached, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 154/254: RELEASE-NOTES: synced with 052a14e3c, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 252/254: mk-lib1521.pl: updated to match the test changes in 916ec30a, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 204/254: coverage: run event tests too,
gnunet <=
- [GNUnet-SVN] [gnurl] 25/254: nss: factorize out nss_{un, }load_module to separate fncs, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 138/254: curl: show the libcurl release date in --version output, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 88/254: schannel: return a more specific error code for SEC_E_UNTRUSTED_ROOT, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 76/254: Telnet: Write full buffer instead of byte-by-byte, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 146/254: darwinssl: Fix exception when processing a client-side certificate file if no error was raised by the API but the SecIdentityRef was null, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 101/254: opts: examples added to 8 more libcurl option man pages, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 130/254: pipeline: fix mistakenly trying to pipeline POSTs, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 165/254: LDAP: fixed checksrc issue, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 90/254: sockfilt.c: shortened too long line, gnunet, 2017/06/17
- [GNUnet-SVN] [gnurl] 136/254: lib510: don't write past the end of the buffer if it's too small, gnunet, 2017/06/17