diff options
author | Thomas Haller <thaller@redhat.com> | 2019-05-19 11:27:53 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2019-05-19 11:28:53 +0200 |
commit | c99bbc99b086286c2c19d7bff7ceb001d7206fa9 (patch) | |
tree | 5759b8fc5d3123511ac872ea84f542a02d377327 | |
parent | d27f6b9d0a02f709e78142fedc59eae24167b688 (diff) | |
download | NetworkManager-c99bbc99b086286c2c19d7bff7ceb001d7206fa9.tar.gz |
wifi/tests: rename Wi-Fi's "test-general" to "test-devices-wifi"
We already have 4 other tests that are named "test-general". Rename.
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | Makefile.am | 14 | ||||
-rw-r--r-- | src/devices/wifi/tests/meson.build | 6 | ||||
-rw-r--r-- | src/devices/wifi/tests/test-devices-wifi.c (renamed from src/devices/wifi/tests/test-general.c) | 0 |
4 files changed, 12 insertions, 11 deletions
diff --git a/.gitignore b/.gitignore index bd9acce872..ac6690412a 100644 --- a/.gitignore +++ b/.gitignore @@ -205,7 +205,7 @@ test-*.trs /src/NetworkManager.ver /src/devices/tests/test-acd /src/devices/tests/test-lldp -/src/devices/wifi/tests/test-general +/src/devices/wifi/tests/test-devices-wifi /src/dhcp/nm-dhcp-helper /src/dhcp/tests/test-dhcp-dhclient /src/dhcp/tests/test-dhcp-options @@ -305,6 +305,7 @@ test-*.trs /policy/org.freedesktop.NetworkManager.policy /policy/org.freedesktop.NetworkManager.policy.in /src/devices/tests/test-arping +/src/devices/wifi/tests/test-general /src/devices/wifi/tests/test-wifi-ap-utils /src/dhcp-manager/nm-dhcp-helper /src/dhcp-manager/tests/test-dhcp-dhclient diff --git a/Makefile.am b/Makefile.am index 80fb5a0ddf..7926abd41e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3400,21 +3400,21 @@ check-local-devices-wifi: src/devices/wifi/libnm-device-plugin-wifi.la check_local += check-local-devices-wifi -check_programs += src/devices/wifi/tests/test-general +check_programs += src/devices/wifi/tests/test-devices-wifi -src_devices_wifi_tests_test_general_SOURCES = \ - src/devices/wifi/tests/test-general.c \ +src_devices_wifi_tests_test_devices_wifi_SOURCES = \ + src/devices/wifi/tests/test-devices-wifi.c \ src/devices/wifi/nm-wifi-ap.c \ src/devices/wifi/nm-wifi-ap.h \ src/devices/wifi/nm-wifi-utils.c \ src/devices/wifi/nm-wifi-utils.h -src_devices_wifi_tests_test_general_CPPFLAGS = $(src_cppflags_base_test) +src_devices_wifi_tests_test_devices_wifi_CPPFLAGS = $(src_cppflags_base_test) -src_devices_wifi_tests_test_general_LDADD = src/libNetworkManagerTest.la -src_devices_wifi_tests_test_general_LDFLAGS = $(SANITIZER_EXEC_LDFLAGS) +src_devices_wifi_tests_test_devices_wifi_LDADD = src/libNetworkManagerTest.la +src_devices_wifi_tests_test_devices_wifi_LDFLAGS = $(SANITIZER_EXEC_LDFLAGS) -$(src_devices_wifi_tests_test_general_OBJECTS): $(libnm_core_lib_h_pub_mkenums) +$(src_devices_wifi_tests_test_devices_wifi_OBJECTS): $(libnm_core_lib_h_pub_mkenums) endif diff --git a/src/devices/wifi/tests/meson.build b/src/devices/wifi/tests/meson.build index 895853c4c0..ba756d531b 100644 --- a/src/devices/wifi/tests/meson.build +++ b/src/devices/wifi/tests/meson.build @@ -1,13 +1,13 @@ -test_unit = 'test-general' +test_unit = 'test-devices-wifi' exe = executable( - 'wifi-' + test_unit, + test_unit, [test_unit + '.c'] + common_sources, dependencies: test_nm_dep, ) test( - 'devices/wifi/' + test_unit, + test_unit, test_script, args: test_args + [exe.full_path()], timeout: default_test_timeout, diff --git a/src/devices/wifi/tests/test-general.c b/src/devices/wifi/tests/test-devices-wifi.c index e08998379e..e08998379e 100644 --- a/src/devices/wifi/tests/test-general.c +++ b/src/devices/wifi/tests/test-devices-wifi.c |