Skip to contentSkip to conversation

test: remove unnecessary test commands

PATCH Applied David Marchand 1 participant 2 messages Oct 27, 2021 – Nov 16, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 test: remove unnecessary test commands

EAL and rwlock tests have been split into smaller unit tests now listed in meson.
Nothing is referencing eal_flags_autotest and rwlock_autotest anymore, since we dropped the python wrapper.

Fixes 8c745bb62340 ("test: remove autotest python wrapper")
---
 app/test/test_eal_flags.c | 84 ---------------------------------------
 app/test/test_rwlock.c    | 42 --------------------
 2 files changed, 126 deletions(-)
app/test/test_eal_flags.c +0 -84
index 1d18a0ba8f..d7f4c2cd47 100644
@@ -1498,90 +1498,6 @@ test_memory_flags(void)
 	return 0;
 }
 
-static int
-test_eal_flags(void)
-{
-	int ret = 0;
-
-	ret = test_missing_c_flag();
-	if (ret < 0) {
-		printf("Error in test_missing_c_flag()\n");
-		return ret;
-	}
-
-	ret = test_main_lcore_flag();
-	if (ret < 0) {
-		printf("Error in test_main_lcore_flag()\n");
-		return ret;
-	}
-
-	ret = test_invalid_n_flag();
-	if (ret < 0) {
-		printf("Error in test_invalid_n_flag()\n");
-		return ret;
-	}
-
-	ret = test_no_hpet_flag();
-	if (ret < 0) {
-		printf("Error in test_no_hpet_flag()\n");
-		return ret;
-	}
-
-	ret = test_no_huge_flag();
-	if (ret < 0) {
-		printf("Error in test_no_huge_flag()\n");
-		return ret;
-	}
-
-	ret = test_allow_flag();
-	if (ret < 0) {
-		printf("Error in test_allow_flag()\n");
-		return ret;
-	}
-
-	ret = test_invalid_b_flag();
-	if (ret < 0) {
-		printf("Error in test_invalid_b_flag()\n");
-		return ret;
-	}
-
-#ifdef RTE_NET_RING
-	ret = test_invalid_vdev_flag();
-	if (ret < 0) {
-		printf("Error in test_invalid_vdev_flag()\n");
-		return ret;
-	}
-#endif
-	ret = test_invalid_r_flag();
-	if (ret < 0) {
-		printf("Error in test_invalid_r_flag()\n");
-		return ret;
-	}
-
-	ret = test_memory_flags();
-	if (ret < 0) {
-		printf("Error in test_memory_flags()\n");
-		return ret;
-	}
-
-	ret = test_file_prefix();
-	if (ret < 0) {
-		printf("Error in test_file_prefix()\n");
-		return ret;
-	}
-
-	ret = test_misc_flags();
-	if (ret < 0) {
-		printf("Error in test_misc_flags()");
-		return ret;
-	}
-
-	return ret;
-}
-
-REGISTER_TEST_COMMAND(eal_flags_autotest, test_eal_flags);
-
-/* subtests used in meson for CI */
 REGISTER_TEST_COMMAND(eal_flags_c_opt_autotest, test_missing_c_flag);
 REGISTER_TEST_COMMAND(eal_flags_main_opt_autotest, test_main_lcore_flag);
 REGISTER_TEST_COMMAND(eal_flags_n_opt_autotest, test_invalid_n_flag);
app/test/test_rwlock.c +0 -42

48 lines not on this page · raw message

Signature · 1 line
2.23.0
author Applied
#1 lore raw
Quoted 9 lines · David Marchand

EAL and rwlock tests have been split into smaller unit tests now listed in meson.
Nothing is referencing eal_flags_autotest and rwlock_autotest anymore, since we dropped the python wrapper.

Fixes 8c745bb62340 ("test: remove autotest python wrapper")

Applied.

Signature · 1 line
David Marchand