Change in osmo-pcap[master]: Cosmetic: README.md: document how to run tests

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

osmith gerrit-no-reply at lists.osmocom.org
Tue Dec 10 14:40:35 UTC 2019


osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-pcap/+/16532 )


Change subject: Cosmetic: README.md: document how to run tests
......................................................................

Cosmetic: README.md: document how to run tests

Mention the setcap command, that makes external tests work.

Related: OS#4317
Change-Id: Idc18925f0b71164b52248ca9312b997681d15241
---
M README.md
1 file changed, 9 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-pcap refs/changes/32/16532/1

diff --git a/README.md b/README.md
index b65b877..791e28f 100644
--- a/README.md
+++ b/README.md
@@ -40,6 +40,15 @@
 Please see the *contrib/osmo-pcap-server.cfg* and *contrib/osmo-pcap-client.cfg*
 file in the repository
 
+## Running tests
+
+In order to run all tests, do the following:
+
+$ ./configure --enable-external-tests
+$ make -j5
+$ sudo setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' src/osmo-pcap-client
+$ make check
+
 ## Wishlist/TODO
 
 - [ ] Add non-blocking TLS (probably GNUtls) support between client and server.

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-pcap/+/16532
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-pcap
Gerrit-Branch: master
Gerrit-Change-Id: Idc18925f0b71164b52248ca9312b997681d15241
Gerrit-Change-Number: 16532
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191210/577d7cf1/attachment.htm>


More information about the gerrit-log mailing list