aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2017-05-20Remove specific versions of some packages.Thomas F Herbert1-4/+5
Add lcov for rhel. Correct fedora Development tools group and rpm-build. Change-Id: I0a19e239e6bc4f34f3aacfbb7e08e2abbdc061ed Signed-off-by: Thomas F Herbert <therbert@redhat.com>
2017-05-19Add indent to DEB_DEPENDS missing in vagrant box.Dave Wallace1-1/+1
Change-Id: Icb9412ed09095443c20ae1fe2b71b646bbe580b0 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2017-05-09Generate test paths for lib and lib64 subdirectoriesIgor Mikhailov (imichail)1-2/+5
wildcard produces empty paths when 'make test' is run from a clean tree: install-<tag>-native directories don't exist yet. Change-Id: I3b3bbd86cf7eda18f2c698f85b834f82b1a19065 Signed-off-by: Igor Mikhailov (imichail) <imichail@cisco.com>
2017-05-09Fix remaining 32-bit compile issuesDamjan Marion1-4/+4
Change-Id: I9664214652229b663c3e3ba7406b4ede96bfb123 Signed-off-by: Damjan Marion <damarion@cisco.com>
2017-05-06lcov is an EPEL rpm (at least for Centos)Igor Mikhailov (imichail)1-1/+6
Change-Id: I064a78df6a2cf734bb7c54f80682690c203a0a98 Signed-off-by: Igor Mikhailov (imichail) <imichail@cisco.com>
2017-05-04Fix RPM_DEPENDS for all rpm distros after 28ea251Igor Mikhailov (imichail)1-3/+1
Change-Id: I58ffdf75f361ff830c2b0c6400ccd012a4d16d3d Signed-off-by: Igor Mikhailov (imichail) <imichail@cisco.com>
2017-04-20Extend ebuild to specify "configure" subdir, enable verify for sample-pluginDamjan Marion1-0/+2
Change-Id: I2056e5d19bc3713e7a13e015dabf3b2431800973 Signed-off-by: Damjan Marion <damarion@cisco.com>
2017-04-19disable extended BFD tests in verify jobKlement Sekera1-1/+1
Change-Id: I14484137fde8d6e77fc5905943657089347629fb Signed-off-by: Klement Sekera <ksekera@cisco.com>
2017-04-19Fix "make dist" to include version number, docouple it from rpm packagingDamjan Marion1-8/+20
Change-Id: If2f9976d668089026c97b897cf449bff09050631 Signed-off-by: Damjan Marion <damarion@cisco.com>
2017-04-19make test: python interpreter customizationvagrant1-0/+1
Allow using custom python interpreter via 'PYTHON' env variable. E.g. env PYTHON=pypy make test. Get latest pip automatically to properly function in environments, where old pip is available and a proxy is required. This allows testing pypy in a centos vagrant-provided vm. Change-Id: I67a658fc927303468cc67f0ac192317ca2907625 Signed-off-by: Klement Sekera <ksekera@cisco.com> Signed-off-by: Damjan Marion <damarion@cisco.com>
2017-03-29Fix for dependency problem with Fedora 25Thomas F Herbert1-2/+10
Change-Id: I0e86f8eb6d62c6a109876b5bf35cc62ab617608e Signed-off-by: Thomas F Herbert <therbert@redhat.com>
2017-03-27Check for missing deps on bootstrap target for Centos and Fedora.Thomas F Herbert1-0/+15
Change-Id: I823a066417fb6205d1e6b0fdf1de17b054f6d312 Signed-off-by: Thomas F Herbert <therbert@redhat.com>
2017-03-27Python-API: debian packaging now depends on python-all (for pybuild)Ole Troan1-1/+1
Change-Id: I6b1dd6bdf03fa506c4b114d15800d9fe03e36395 Signed-off-by: Ole Troan <ot@cisco.com>
2017-03-22make test: run all tests in test-cov targetKlement Sekera1-0/+1
Change-Id: I7040c1ecc8b6e5e883420c1c81aa8b70e56263e5 Signed-off-by: Klement Sekera <ksekera@cisco.com>
2017-03-22make test: support out-of-tree testsKlement Sekera1-2/+3
env EXTERN_TESTS="/path/to/extra/tests" make test causes to run the default test set and tests collected from test_*.py files under subtree specified in EXTERN_TESTS. Change-Id: I58c5471dd6010730278a5b47d4318737d920bc28 Signed-off-by: Klement Sekera <ksekera@cisco.com>
2017-03-16Add epel-rpm-macros for CentOS/RHEL install-depAlexander Popovsky (apopovsk)1-1/+1
%py2_install is required by vpp-api-python and is not available on bare CentOS/RHEL install, causing 'fg: no job control' error. Added 'epel-rpm-macros' to the list of EPEL dependencies Change-Id: I1e09d7d825d9d8db06e7385d2b8d5579c8ce748b Signed-off-by: Alexander Popovsky (apopovsk) <apopovsk@cisco.com>
2017-03-15Python API: Change from cPython to CFFI.Ole Troan1-2/+3
Change-Id: I03e52466fb3f909ae52b8fba601168f3eadbd972 Signed-off-by: Ole Troan <ot@cisco.com>
2017-03-14Nasm > 2.11.06 required for sw_crypto.Thomas F Herbert1-0/+1
Change-Id: I7583d3074478579a841c7827a12a4a8fc74d9d61 Signed-off-by: Thomas F Herbert <therbert@redhat.com>
2017-03-10Retire vpp_liteDamjan Marion1-9/+7
vpp_lite platform is not needed anymore as same efect can be achieved with following startup.conf config: plugins { plugin dpdk_plugin.so { disable } } Change-Id: I690ea8ceb1c6e1fe32e01e7da54e9958019a93bf Signed-off-by: Damjan Marion <damarion@cisco.com>
2017-03-09make test: add make test-shell[-debug] targetsKlement Sekera1-0/+8
This starts a bash with the same environment as the test framework uses, allowing easy debugging. Change-Id: I956deda913b73dae5b1e1976417834ae4731f88a Signed-off-by: Klement Sekera <ksekera@cisco.com>
2017-03-08make test: split into basic and extended testsKlement Sekera1-3/+14
Implement plumbing to allow decorating tests as extended, e.g.: @unittest.skipUnless(running_extended_tests(), "part of extended tests") both methods and classes can be decorated this way. Change make test and make test-debug to run only non-extended tests. Introduce make test-all and make test-all-debug to run the full suite. Run full suite as part of make verify. Decorate most BFD tests as extended. Change-Id: I3bc64f59e9fe238f7f767d7e043dc165d03e9dfa Signed-off-by: Klement Sekera <ksekera@cisco.com>
2017-02-22Fix LISP and ONE crc marcosFilip Tehlar1-0/+1
Change-Id: Icd0dba04d8929456228136d1f25c459bffcc6a7a Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
2017-02-20dpdk: updated build to automatically download Intel(R) Multi-Buffer Crypto ↵Radu Nicolau1-1/+1
for IPsec Library Change-Id: I58182edb7b0d314bb6dfa1daf7b00012196fd3e1 Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>
2017-02-06make test: improve test filteringKlement Sekera1-1/+1
Implement fine-grained test filtering by supporting more complicated filters beside the original file name suffix filter. Change-Id: If5a166d08cffe8c58cc6cf174e6df861c34dbaa6 Signed-off-by: Klement Sekera <ksekera@cisco.com>
2017-02-01Fix issue with apt-get update not being run on Ubuntu 16.04Ed Warnicke1-1/+1
Change-Id: Ic05b86c4ea9b62afbf03a2a36c4a2ef45f5c140b Signed-off-by: Ed Warnicke <eaw@cisco.com>
2017-01-31Prep work for Coverity upload processing via JenkinsDave Barach1-0/+4
Change-Id: I2575d780d19e12ddf8a77e5596e5d7cc3dbf4233 Signed-off-by: Dave Barach <dave@barachs.net>
2017-01-24fix OS_ID test in root MakefileGabriel Ganne1-2/+2
fixup for 2ce7f9834ab55728520bff0dd15f8d82c10b95a0 redhat, centos -> rpm debian, ubuntu -> deb Change-Id: I0a07d3689b2bb5656d1bc688677680f83ac2e0bb Signed-off-by: Gabriel Ganne <gabriel.ganne@qosmos.com>
2017-01-20Add dpdk development packagingDamjan Marion1-11/+14
Change-Id: I6aa2a6709241d99ce734c29e47487eb456907351 Signed-off-by: Damjan Marion <damarion@cisco.com>
2017-01-17make test: add checkstyle targetKlement Sekera1-0/+4
Change-Id: I59d3c3bc77474c96e1d6fa51811c1b13fb9a6c5b Signed-off-by: Klement Sekera <ksekera@cisco.com>
2017-01-16Add 'make test' to verify jobDamjan Marion1-0/+1
Change-Id: Iaab9c1a1c691a613d25ea28a22ac5db5943d8892 Signed-off-by: Damjan Marion <damarion@cisco.com>
2017-01-16Toplevel Makefile cleanupDamjan Marion1-9/+8
Change-Id: I2f4cb267dbb4d6e6fc6bef908c4bb548c5f37b35 Signed-off-by: Damjan Marion <damarion@cisco.com>
2017-01-10Revert "vppctl: bash completion for vppctl commands"Damjan Marion1-39/+7
This patch is causing build failures This reverts commit d995c757f05f78aa759b0a65c0a7e38088e690a9. Change-Id: I0c8d5a4208135d77aaa3a6a470d26140f7b74733 Signed-off-by: Damjan Marion <damarion@cisco.com>
2017-01-09vppctl: bash completion for vppctl commandsPadraig Connolly1-7/+39
Added bash completion that will include all commands from build time *Script takes list of commands generated by doxygen-siphon-list *Configured doxygen-siphon makefile to generate just cli commands *List of cli commands put in /usr/share/vpp *Stopped siphon using doxygen bootstrap, uses main bootstrap instead *Added rpm/deb check for installation of packages, separate from bootstrap *NOTE: Once you have installed the vpp .deb/.rpm package you will have to restart bash Change-Id: Ie503e80d5177481f6e7dbe59378f2e0d76f29152 Signed-off-by: Padraig Connolly <padraig.connolly@intel.com>
2017-01-03preserve environment when make install-depGabriel Ganne1-4/+4
for those who work behind a firewall/proxy-server Change-Id: I099830d2da05296b2f109ca25576a1e865ddcce6 Signed-off-by: Gabriel Ganne <gabriel.ganne@qosmos.com>
2017-01-02fix run-vat pathMatus Fabian1-1/+1
Change-Id: Idfe5050b2db35794687da797afdca60a707aa42c Signed-off-by: Matus Fabian <matfabia@cisco.com>
2017-01-01Move java,lua api and remaining plugins to src/Damjan Marion1-17/+4
Change-Id: I1c3b87e886603678368428ae56a6bd3327cbc90d Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-12-28test: fix paths after source code moveDamjan Marion1-3/+2
Change-Id: I3100260bb697f9af2f73ad3777e8b27069c5babe Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-12-28Reorganize source tree to use single autotools instanceDamjan Marion1-2/+2
Change-Id: I7b51f88292e057c6443b12224486f2d0c9f8ae23 Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-12-21vagrant: Fixing sudo related vagrant errorsRay Kinsella1-1/+1
The dpkg sudo trigger appears to want to run interactively despite the noninteractive debconf setting. This is a problem upstream for vagrant also, see. https://github.com/hashicorp/terraform/issues/9763 Incorporating the recommended fix to Vagrantfile from upstream https://github.com/hashicorp/terraform/pull/9783 Change-Id: I8da8522fc9e80fc3bd268b347a786054ad019170 Signed-off-by: Ray Kinsella <ray.kinsella@intel.com>
2016-12-20Remove RPATH from binaries before creating .deb and .rpm packagesDamjan Marion1-2/+2
Change-Id: I684d4eabac03e049524204864c985e14eea8d92e Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-12-16make test: improve robustness and performanceKlement Sekera1-3/+1
Introduce an API which asserts empty capture for interface. Throw exception in old API if the capture does not exist, thus making it clear if the test expects packets to arrive or not. Improve performance by not doing sleeps after starting the packet generator, rather lazily deleting captures when needed. Fix wrong usage of packet.show() in various tests. Change-Id: I456cb23316eef99b3f35f80344fe595c4db9a21c Signed-off-by: Klement Sekera <ksekera@cisco.com>
2016-12-09Add make test code coverage reporting using gcovJuraj Sloboda1-2/+13
Change-Id: Ia8247841fdbe76e1d888aab49ae213b4216af273 Signed-off-by: Juraj Sloboda <jsloboda@cisco.com>
2016-12-07BFD: basic asynchronous session up/downKlement Sekera1-0/+2
This is a work-in-progress basic BFD session handling. Only asynchronous mode is supported at the moment. Setting the session flags doesn't work. Change-Id: Idba27f721b5c35be5a66a6d202a63d23ff7ecf6f Signed-off-by: Klement Sekera <ksekera@cisco.com>
2016-12-06API: Adapt make test to Python API changes.Ole Troan1-0/+1
Change the test wrapper script for the updated Python API. All tests but the L2BD multi instance runs fine. That is currently skipped. I see intermittent failures when an MLD message is received before the ND NA in MPLS and IPV6 FIB tests. Change-Id: If809877c9abdf596dbb0a419ce5429552f63d212 Signed-off-by: Ole Troan <ot@cisco.com>
2016-12-01Add banner for building deb and rpm packages to verifyEd Warnicke1-0/+2
Change-Id: I03fd6f32ad720a6a2443c6b350c8890dec579229 Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-11-30Temporarily remove make testEd Warnicke1-1/+0
Change-Id: I2b8c3c99f1358c53721790f8c6aefa7123c4959d Signed-off-by: Ed Warnicke <eaw@cisco.com>
2016-11-29Have make verify check deb and rpm buildsEd Warnicke1-5/+11
Change-Id: I7fe3558118835240ecd155609821f9de2d609553 Signed-off-by: Ed Warnicke <hagbard@gmail.com>
2016-11-29Added make test to make verifyEd Warnicke1-3/+3
Change-Id: If5dcfc330a7df69b2c811ce5a8a48c2e0f968270 Signed-off-by: Ed Warnicke <hagbard@gmail.com>
2016-11-19make: call install-dep on unatteded invocationDamjan Marion1-0/+4
Change-Id: I7a3c21c47f49b56b6435397e731d4da961ef8ffd Signed-off-by: Damjan Marion <damarion@cisco.com>
2016-11-15Update test documentation.Matej Klotton1-1/+1
- update IRB, IPv4, ipv6 doc - revert 778c2765c8ea5c6628f6d668847f0b9ae06dbf3d Change-Id: I9af5ed9329ce5fe01392cf28d5bf321cfc647e48 Signed-off-by: Matej Klotton <mklotton@cisco.com>