aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/tests/test-udev-rules.c
diff options
context:
space:
mode:
authorming-pei.hsu <ming-pei.hsu@mediatek.com>2023-09-28 11:38:28 +0800
committerAleksander Morgado <aleksander@aleksander.es>2023-10-11 13:27:31 +0000
commit4fdda13c4eef051a6f3ffcddbf0c1fc9a67f1271 (patch)
tree63105e9353f68b9e8042f94b32dc47bc3ee97a25 /src/plugins/tests/test-udev-rules.c
parent16c3e3381204fcfd5615983dd48e56d71d8685dc (diff)
mtk: rename for old mtk plugin
Use mtk-legacy to instead mtk plugin.
Diffstat (limited to 'src/plugins/tests/test-udev-rules.c')
-rw-r--r--src/plugins/tests/test-udev-rules.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/plugins/tests/test-udev-rules.c b/src/plugins/tests/test-udev-rules.c
index fe11c783..5df65872 100644
--- a/src/plugins/tests/test-udev-rules.c
+++ b/src/plugins/tests/test-udev-rules.c
@@ -136,9 +136,9 @@ test_telit (void)
}
#endif
-#if defined ENABLE_PLUGIN_MTK
+#if defined ENABLE_PLUGIN_MTK_LEGACY
static void
-test_mtk (void)
+test_mtk_legacy (void)
{
common_test (TESTUDEVRULESDIR_MTK);
}
@@ -231,9 +231,10 @@ int main (int argc, char **argv)
#if defined ENABLE_PLUGIN_TELIT
g_test_add_func ("/MM/test-udev-rules/telit", test_telit);
#endif
-#if defined ENABLE_PLUGIN_MTK
- g_test_add_func ("/MM/test-udev-rules/mtk", test_mtk);
+#if defined ENABLE_PLUGIN_MTK_LEGACY
+ g_test_add_func ("/MM/test-udev-rules/mtk", test_mtk_legacy);
#endif
+
#if defined ENABLE_PLUGIN_HAIER
g_test_add_func ("/MM/test-udev-rules/haier", test_haier);
#endif