Commit Graph

328 Commits

Author SHA1 Message Date
Mathew Bielejeski
941a67fca7 Adjust GitLab.com CI configuration for build version feature
* Add a git tag to the tip of the branch before building
* Install git package before building
* Update ubuntu and fedora builds to install git package
2020-08-14 14:14:37 -07:00
Tom Henderson
bbcd692716 utils: Replace check-style.py parameter with backward-compatible alias
Updates commit 063d86c09 with fix suggested in #230
2020-06-27 11:08:51 -07:00
Tom Henderson
270766a631 utils: Make create-module.py work for Python 3.5 2020-06-25 08:03:39 -07:00
Sébastien Deronne
b0a4444e76 utils: Use CommandLine cmd (__FILE__) instead of COMMANDLINE macro in newly generated module 2020-06-24 20:55:58 +00:00
Steven Smith
dded72e02e build: (fixes #217) Guard compilation of example used as a test
* Added documentation to ExampleAsTestSuite on the need for this guarding
* Updated with Peter's patch for examples-as-test placeholders in wscripts
2020-06-08 09:35:50 -07:00
Natale Patriciello
6b830f9457 ci/cd: Clang10 repo only has python3 packages. Remove python2 packages from the installed list 2020-06-08 10:59:22 +02:00
Natale Patriciello
f8e8ade4df ci/cd: Disabled debug/release tests, doing them only in optimized mode 2020-06-08 10:09:32 +02:00
Natale Patriciello
2cd9029757 ci/cd: Added Clang 10 compile test 2020-06-08 10:09:13 +02:00
Peter D. Barnes, Jr
a75ca74913 Revert "doc: doc/doxygen.warnings.report.sh exit status"
This reverts commit 5164a46b9e.
2020-05-27 15:03:59 -07:00
Peter Barnes
5164a46b9e doc: doc/doxygen.warnings.report.sh exit status
This amends the script to return a tailored exit status:

With filter-in options (-m, -f) the exit status records if any warnings
were found in the listed module or files.

Without any filter-in options the exit status records whether *any*
Doxygen warnings were found.
2020-05-27 20:59:06 +00:00
Peter D. Barnes, Jr
9ddd31c6f9 More flexible create-module.py script
Changed the default creation directory from src/ to contrib/
  Moved create-modules.py from src/ to utils/

Added two new optional command line arguments: --project and --use-src-dir
--project specifies a directory name or path under which the new modules
will be created.
--use-src-dir directs the script to create new modules in the src
directory instead of contrib.  This argument cannot be combined
with --project.

Updated contrib/wscript to search for modules at
arbitrary depths instead of just the child directories under
contrib.

Assume the following directory structure:
contrib/
  project1/
    module1/
      wscript
    module2/
      wscript
  project2/
    sub_project1/
      	module3/
        	wscript
      	module4/
        	wscript
    sub_project2/
      	module5/
        	wscript
      	module6/
        	wscript
    data/
  module7/
    wscript

waf configure will discover the following modules under contrib:
project1/module1
project1/module2
project2/sub_project1/module3
project2/sub_project1/module4
project2/sub_project2/module5
project2/sub_project2/module6
module7
2020-05-20 13:55:28 -07:00
Peter D. Barnes, Jr
c9769dc400 core: refactor reverse ordering in calendar scheduler
Refactor to clarify the core algorithms and isolate the
forward/reverse differences to one section.

This also lets the insertion order to be set by Attribute.

Benchmarking this appears to be marginally faster than
Alexander Krotov's original version.  It's not clear why;
should be marginally slower.
2020-05-12 12:05:01 -07:00
Alexander Krotov
1f6a710dbd core: Port calendar scheduler improvement from NS-2.
It reverses the order of insertion sort in buckets.
2020-05-12 12:05:01 -07:00
Natale Patriciello
9539cd04d5 ci/cd: Disable Fedora 30 due to missing ipython package
Error message:

$ dnf install gcc gcc-c++ python python-devel ccache gsl gsl-devel libgcrypt gtk3 gtk3-devel sqlite sqlite-devel libxml2 libxml2-devel openmpi openmpi-devel boost-devel pygobject3-devel python3-gobject gobject-introspection-devel goocanvas2-devel graphviz-devel graphviz ipython --assumeyes
Fedora Modular 30 - x86_64                      3.2 MB/s | 2.7 MB     00:00
Fedora Modular 30 - x86_64 - Updates            4.8 MB/s | 4.1 MB     00:00
Fedora 30 - x86_64 - Updates                    9.0 MB/s |  24 MB     00:02
Fedora 30 - x86_64                              9.9 MB/s |  70 MB     00:07
Package libgcrypt-1.8.5-1.fc30.x86_64 is already installed.
Package libxml2-2.9.9-2.fc30.x86_64 is already installed.
No match for argument: ipython
Error: Unable to find a match: ipython

From https://gitlab.com/nsnam/ns-3-dev/-/jobs/535839400

The funny thing is that the same line works for Fedora 29 and 31.
2020-05-05 10:03:15 +02:00
Natale Patriciello
60f5d05a95 ci/cd: Fix ubuntu TZDATA installation
Closes #184
2020-05-05 10:02:55 +02:00
Alexander Krotov
82b555582e core: PriorityQueueScheduler based on std::priority_queue
This has a stub for Remove, which just cancels the event.

In turn this causes the simulator test case to fail, because of
the sanity check at the end of DefaultSimulatorImpl::Run.
2020-05-01 23:50:34 +00:00
Peter D. Barnes, Jr
b23be18b3b Use CommandLine cmd (__FILE__) instead of COMMANDLINE macro.
This in effect replaces commit 5e624d550
2020-05-01 14:42:53 -07:00
Peter D. Barnes, Jr
5e624d5504 doc: Use the new COMMANDLINE macro in every example 2020-04-27 16:20:09 -07:00
Peter D. Barnes, Jr
da6e6b340f docs: various fixes for broken links, removed AttributeValue types 2020-04-27 16:20:09 -07:00
Peter D. Barnes, Jr
fddf3eaac4 doc: various doxygen fixups in core 2020-04-10 17:30:25 -07:00
Peter D. Barnes, Jr
2fb2ed1689 doc: use \pname{} instead of \p when referring to arguments. 2020-04-10 17:30:25 -07:00
Peter D. Barnes, Jr
5739ee918a docs: tweak check-style to indent cases, leave namespaces alone 2020-04-07 17:18:59 -07:00
Peter D. Barnes, Jr
063d86c096 core: clear check-style -l3 errors 2020-03-25 15:18:01 -07:00
Tom Henderson
c84fa3fb13 docs: Update CI/CD summary with post from Natale 2020-03-13 11:12:55 -07:00
Natale Patriciello
aa714a54c6 ci: Update GCC, CLANG, Fedora, Ubuntu test build
Updated to the latest versions available.

Closes #160
2020-03-12 14:04:54 +01:00
Parth Pratim (GCI 2018)
503e330c1a utils: make check-style.py compatible with git 2020-03-10 18:22:55 +05:30
Eduardo Almeida
153492e56d utils: (fixes #138) Update CI scripts and README file after adding timeout value
see merge request !187
2020-02-14 09:12:20 +01:00
ZorazeAli
5a55b9fdcf utils: Using update-alternatives for gfortran for gcc 7 image
see merge request !186 and issue #138
2020-02-12 14:53:46 +01:00
ZorazeAli
12a9b0a94f utils: Add python3 in pre-installation list for gcc and Ubuntu tests
see issue #138
2020-02-12 12:46:15 +01:00
ZorazeAli
674162a6a1 utils: Extend CI/CD README.md to include customized .yml path configuration
see issue #138
2020-02-12 12:42:02 +01:00
Parth Pandya
741fd9feee doc: Add to doxygen a list of all TypeIds 2020-02-03 15:50:48 -08:00
Peter D. Barnes, Jr
60680946bb docs: Refactor print-introspected-doxygen 2020-02-03 15:43:09 -08:00
Eduardo Almeida
54e03b978c Fix typo in utils/tests/README.md 2020-01-21 16:10:06 +00:00
Tom Henderson
7a53a962cc build: (fixes #119) Waf --lcov-report and --lcov-zerocounters options 2019-12-24 12:16:05 -08:00
Tom Henderson
0258405cc6 build: Upgrade scripts to Python 3 (many changes due to Ankit Deepak) 2019-08-12 16:55:34 -07:00
Natale Patriciello
4d0b5369c2 ci: Use nsnam worker for very long tasks 2019-03-07 17:26:49 +01:00
Natale Patriciello
921b47d0aa ci: Fix pacman error while updating 2019-02-21 12:10:52 +01:00
Natale Patriciello
e6600bb598 test: Add CI for valgrind tests 2019-02-18 09:16:50 +01:00
Natale Patriciello
c466278f05 ci: Removed 'y', as per update database, from the CI script for archlinux 2019-02-17 22:00:18 +01:00
Natale Patriciello
f6c49ef713 ci: Updated docker image to archlinux/base 2019-02-09 10:02:01 +01:00
Natale Patriciello
740e5a79de utils: Added section for running test as users 2019-01-07 09:15:41 +01:00
Natale Patriciello
6bf161b339 utils: Compile the tutorial during CI builds 2019-01-07 09:15:40 +01:00
Natale Patriciello
441ae70c64 Example CI for ns-3 and Gitlab 2019-01-07 09:15:40 +01:00
Tom Henderson
b021f53ea2 Document the API change from removing --no32bit-scan 2018-07-21 16:31:05 -07:00
Alexander Krotov
00bb6fe7f6 Spellcheck 2018-06-27 10:50:27 +03:00
Sébastien Deronne
cb43ae1607 wifi: Clear doxygen warnings 2018-02-10 16:34:54 +01:00
Sébastien Deronne
27ac6c1c3c wifi: cleanup remaining Doxygen warnings 2017-10-21 10:12:18 +02:00
Peter D. Barnes, Jr.
c923be0a32 Minor fixups 2017-09-17 19:47:23 -07:00
Peter D. Barnes, Jr.
485c2673b8 [doxy] Add doxygen file header to introspected-doxygen.h 2017-08-29 07:56:38 -07:00
Tom Henderson
b68a27364c wifi: Extend documentation helper for attribute implementations 2017-08-29 14:51:27 -07:00