Thomas Haller
7fab25711a
build: merge "dispatcher/tests/Makefile.am" into toplevel Makefile
2016-10-21 17:37:56 +02:00
Thomas Haller
6f19ccdd58
build: merge "dispatcher/Makefile.am" into toplevel Makefile
2016-10-21 17:04:06 +02:00
Thomas Haller
7bf4a15504
build: merge "src/tests/Makefile.am" into toplevel Makefile
2016-10-21 17:04:06 +02:00
Thomas Haller
1d8934e705
build: merge "src/tests/config/Makefile.am" into toplevel Makefile
2016-10-21 17:04:06 +02:00
Thomas Haller
a0bb990f39
build: merge "src/supplicant-manager/tests/Makefile.am" into toplevel Makefile
2016-10-21 17:04:06 +02:00
Thomas Haller
e52a5e1146
build: merge "src/rdisc/tests/Makefile.am" into toplevel Makefile
2016-10-21 17:04:06 +02:00
Thomas Haller
f3437707e3
build: merge "src/devices/tests/Makefile.am" into toplevel Makefile
2016-10-21 17:04:06 +02:00
Thomas Haller
04eb0afd28
build: merge "src/platform/tests/Makefile.am" into toplevel Makefile
2016-10-21 17:04:06 +02:00
Thomas Haller
123b66b9f4
build: merge "src/dnsmasq-manager/tests/Makefile.am" into toplevel Makefile
2016-10-21 17:04:06 +02:00
Thomas Haller
ecb9f140cf
build: merge "src/devices/team/Makefile.am" into toplevel Makefile
2016-10-21 17:04:06 +02:00
Thomas Haller
eecd05b5bf
build: merge "src/devices/wifi/tests/Makefile.am" into toplevel Makefile
2016-10-21 17:04:06 +02:00
Thomas Haller
da006929dd
build: merge "src/devices/wifi/Makefile.am" into toplevel Makefile
2016-10-21 17:04:06 +02:00
Thomas Haller
ee601ff296
build: merge "src/devices/bluetooth/Makefile.am" into toplevel Makefile
2016-10-21 17:04:06 +02:00
Thomas Haller
72d53e4b69
build: merge "src/devices/wwan/Makefile.am" into toplevel Makefile
2016-10-21 17:04:06 +02:00
Thomas Haller
ca7f59d332
build: merge "src/devices/adsl/Makefile.am" into toplevel Makefile
2016-10-21 17:04:06 +02:00
Thomas Haller
b48b56c499
build: merge "src/settings/plugins/ifnet/tests/Makefile.am" into toplevel Makefile
2016-10-21 17:04:05 +02:00
Thomas Haller
b2d4180787
build: merge "src/settings/plugins/ifnet/Makefile.am" into toplevel Makefile
2016-10-21 16:47:03 +02:00
Thomas Haller
b661b17687
build: merge "src/settings/plugins/ifupdown/tests/Makefile.am" into toplevel Makefile
2016-10-21 16:47:03 +02:00
Thomas Haller
4128d837ac
build: merge "src/settings/plugins/ifupdown/Makefile.am" into toplevel Makefile
2016-10-21 16:47:03 +02:00
Thomas Haller
2169a09f07
build: merge "src/settings/plugins/ifcfg-rh/tests/Makefile.am" into toplevel Makefile
2016-10-21 16:47:02 +02:00
Thomas Haller
181dfe17d8
build: merge "src/settings/plugins/ifcfg-rh/Makefile.am" into toplevel Makefile
2016-10-19 17:16:08 +02:00
Thomas Haller
f9b6042441
build: merge "tools/Makefile.am" into toplevel Makefile
2016-10-19 17:16:08 +02:00
Thomas Haller
b4372070a6
build: always enable building of tests
...
Let's always build with tests, regardless of --enable-tests.
If the user builds with --enable-tests=no, we automake the tests
as check_PROGRAMS, which only compiles the tests during `make check`.
Otherwise, we automake them as noinst_PROGRAMS, which builds the
tests regularly as a normal build.
This way, a user who doesn't want to build the tests regularly,
still can build and run them via `make check`.
2016-10-19 17:16:08 +02:00
Thomas Haller
f87d153f8a
build: merge "src/settings/plugins/ibft/Makefile.am" into toplevel Makefile
2016-10-19 17:16:08 +02:00
Thomas Haller
541f543451
build: merge "src/settings/plugins/keyfile/Makefile.am" into toplevel Makefile
2016-10-19 17:16:08 +02:00
Thomas Haller
48058ff21f
build: merge "src/ppp-manager/Makefile.am" into toplevel Makefile
2016-10-19 17:16:08 +02:00
Thomas Haller
815624bf24
build: merge "src/dhcp-manager/tests/Makefile.am" into toplevel Makefile
2016-10-19 17:16:08 +02:00
Thomas Haller
481d2165e9
build: merge "src/dhcp-manager/Makefile.am" into toplevel Makefile
2016-10-19 17:16:08 +02:00
Thomas Haller
b219eb19f1
build: merge "src/Makefile.am" into toplevel Makefile
...
Had to rename "nm-enum-types.h" because it works badly with
"libnm/nm-enum-types.h". Maybe I could fix that differently,
but duplicate names is anyway error prone.
Note that "nm-core-enum-types.h" is already taken too, so
"nm-src-enum-types.h" it is.
2016-10-19 17:16:08 +02:00
Thomas Haller
7aefbcb622
build: merge "libnm/tests/Makefile.am" into toplevel Makefile
2016-10-19 17:16:08 +02:00
Thomas Haller
9061432d55
build: merge "libnm/Makefile.am" into toplevel Makefile
2016-10-19 17:16:07 +02:00
Thomas Haller
8fdd5dec72
build: merge "libnm-core/tests/Makefile.am" into toplevel Makefile
...
libnm-core/Makefile.libnm-core still exists, it is used by
libnm/Makefile.am.
2016-10-19 15:26:30 +02:00
Thomas Haller
e99978cb54
build: merge "libnm-core/Makefile.am" into toplevel Makefile
...
libnm-core/Makefile.libnm-core still exists, it is used by
libnm/Makefile.am.
Also, libnm-core/tests/Makefile.am still exists.
2016-10-19 15:26:30 +02:00
Thomas Haller
3c2a49df2f
build: merge "introspection/Makefile.am" into toplevel Makefile.am
2016-10-19 15:26:30 +02:00
Thomas Haller
cd98705d21
tests: combine "run-test-valgrind.sh" and "run-test-dbus-session.sh" in "run-nm-test.sh"
...
No need to have two test-runners. Combine them, and call tests always
via "tools/run-nm-test.sh".
Yes, this brings an overhead, that we now always invoke the test with
a test wrapper script, also --without-vagrind. Previously, that was only
necessary for libnm tests that require their own D-Bus session.
Later we will do non-recursive Makefiles, thus all tests should have the
same LOG_COMPILER.
2016-10-19 15:26:30 +02:00
Thomas Haller
274de2555b
build/trivial: rename VALGRIND_RULES in Makefile.am to NM_LOG_COMPILER
2016-10-19 15:26:30 +02:00
Thomas Haller
a54a3e8263
tools/trivial: replace tabs from "tools/run-test-valgrind.sh" script
2016-10-19 15:26:30 +02:00
Thomas Haller
491aad08a9
contrib/rpm: run make check
in parallel (again)
...
Revert commit f551c91d33
and restore
parallel `make check`. It should work.
2016-10-19 15:26:30 +02:00
Thomas Haller
c94dac0b5d
tools: fix starting tests with D-Bus session with NMTST_NO_VALGRIND=1
...
When running
NMTST_NO_VALGRIND=1 make check -j
we would not start separate D-Bus sessions, thus running tests with
valgrind enabled failed.
2016-10-19 15:26:30 +02:00
Thomas Haller
5424e3a063
keyfile: disable permission checks of keyfile for tests
...
The tests were checking that the keyfiles had permission
0600 and there was a check-local target to prepare the permissons
of the tests.
That is inconvenient, and it is unexpected to have a check-local
target for such a case.
Also, the tests were not testing that keyfile reader would
bail out on invalid permissions. So just skip the check for
testing.
2016-10-19 15:26:30 +02:00
Thomas Haller
068dd41df9
platform/tests: relax assertion in software_add
...
Avoid failure
NMPlatformSignalAssert: test-link.c:146, software_add(): failure to accept signal one time: link-changed-changed ifindex 15 (2 times received)
2016-10-19 15:23:49 +02:00
Beniamino Galvani
956f0be2f9
platform: fix lifetime check
2016-10-18 16:48:27 +02:00
Beniamino Galvani
628cc8a057
arping: fix error handling when starting probe
...
We didn't check the return value of g_spawn_async() and added a watch
on a potentially zero pid.
2016-10-18 16:48:27 +02:00
Thomas Haller
34f3563add
tools: dist "tools/create-exports-NetworkManager.sh"
...
It's also used by contrib/rpm's SPEC file.
2016-10-17 16:21:08 +02:00
Lubomir Rintel
2c43862b2d
platform/tests: don't attempt to mount anything to /sys/devices
...
More recent kernels won't allow that in userns when /sys itself
is read-only.
2016-10-17 15:45:59 +02:00
Lubomir Rintel
0acdcc348c
Revert "platform/tests: skip root tests when we can't mount /sys/devices"
...
This was plain stupid. We don't care about sysfs being writable or
anything *before* entering the namespace.
This reverts commit 15a26d6192
.
2016-10-17 15:45:59 +02:00
Beniamino Galvani
acb69cda0c
merge: branch 'bg/autoconnect-retries-bgo763524'
...
https://bugzilla.gnome.org/show_bug.cgi?id=763524
2016-10-16 12:56:39 +02:00
Beniamino Galvani
a67bdbc331
core: handle the autoconnect-retries property
2016-10-16 12:56:09 +02:00
Beniamino Galvani
2a93d44a7a
cli: support the autoconnect-retries property
2016-10-16 12:56:09 +02:00
Beniamino Galvani
f63e28b147
ifcfg-rh: support the autoconnect-retries property
2016-10-16 12:56:09 +02:00