1
0
Fork 0
mirror of https://gitlab.ibr.cs.tu-bs.de/tschuber/ns-3-leo.git synced 2025-07-29 18:20:07 +02:00

Make examples runable as tests

This commit is contained in:
Tim Schubert 2020-08-29 21:11:55 +02:00
parent fccc05f6c2
commit 3f4ba0a8c1
5 changed files with 107 additions and 26 deletions

22
test/examples-to-run.py Normal file
View file

@ -0,0 +1,22 @@
#! /usr/bin/env python3
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
# A list of C++ examples to run in order to ensure that they remain
# buildable and runnable over time. Each tuple in the list contains
#
# (example_name, do_run, do_valgrind_run).
#
# See test.py for more information.
cpp_examples = [
("leo-orbit", "True", "True"),
("leo-delay", "True", "True"),
("leo-bulk-send", "True", "True"),
]
# A list of Python examples to run in order to ensure that they remain
# runnable over time. Each tuple in the list contains
#
# (example_name, do_run).
#
# See test.py for more information.
python_examples = []