wifi/tests: rename Wi-Fi's "test-general" to "test-devices-wifi"

We already have 4 other tests that are named "test-general". Rename.
This commit is contained in:
Thomas Haller 2019-05-19 11:27:53 +02:00
parent d27f6b9d0a
commit c99bbc99b0
4 changed files with 12 additions and 11 deletions

3
.gitignore vendored
View file

@ -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

View file

@ -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

View file

@ -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,