summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorBruce Richardson <bruce.richardson@intel.com>2019-03-06 16:22:42 +0000
committerThomas Monjalon <thomas@monjalon.net>2019-03-12 23:05:06 +0100
commit218c4e68c1d9bd4a9281bc1dc4d0ab89859083bf (patch)
tree00b4b284261f43298e1ecf4249980bda614f4b20 /app
parentae2f2fee247ad0f80f5a122fd174fa16cddd5438 (diff)
downloaddpdk-next-eventdev-218c4e68c1d9bd4a9281bc1dc4d0ab89859083bf.zip
dpdk-next-eventdev-218c4e68c1d9bd4a9281bc1dc4d0ab89859083bf.tar.gz
dpdk-next-eventdev-218c4e68c1d9bd4a9281bc1dc4d0ab89859083bf.tar.xz
mk: use linux and freebsd in config names
Rather than using linuxapp and bsdapp everywhere, we can change things to use the, more readable, terms "linux" and "freebsd" in our build configs. Rather than renaming the configs we can just duplicate the existing ones with the new names using symlinks, and use the new names exclusively internally. ["make showconfigs" also only shows the new names to keep the list short] The result is that backward compatibility is kept fully but any new builds or development can be done using the newer names, i.e. both "make config T=x86_64-native-linuxapp-gcc" and "T=x86_64-native-linux-gcc" work. Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Diffstat (limited to 'app')
-rwxr-xr-xapp/test-bbdev/test-bbdev.py2
-rw-r--r--app/test/autotest.py2
-rw-r--r--app/test/test.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/app/test-bbdev/test-bbdev.py b/app/test-bbdev/test-bbdev.py
index acab9eb..25340ec 100755
--- a/app/test-bbdev/test-bbdev.py
+++ b/app/test-bbdev/test-bbdev.py
@@ -23,7 +23,7 @@ else:
if "RTE_TARGET" in os.environ:
dpdk_target = os.environ["RTE_TARGET"]
else:
- dpdk_target = "x86_64-native-linuxapp-gcc"
+ dpdk_target = "x86_64-native-linux-gcc"
parser = argparse.ArgumentParser(
description='BBdev Unit Test Application',
diff --git a/app/test/autotest.py b/app/test/autotest.py
index 12997fd..46c469e 100644
--- a/app/test/autotest.py
+++ b/app/test/autotest.py
@@ -38,7 +38,7 @@ print(cmdline)
# how many workers to run tests with. FreeBSD doesn't support multiple primary
# processes, so make it 1, otherwise make it 4. ignored for non-parallel tests
-n_processes = 1 if "bsdapp" in target else 4
+n_processes = 1 if "bsd" in target else 4
runner = autotest_runner.AutotestRunner(cmdline, target, test_blacklist,
test_whitelist, n_processes)
diff --git a/app/test/test.c b/app/test/test.c
index 351c7f2..d646f51 100644
--- a/app/test/test.c
+++ b/app/test/test.c
@@ -36,7 +36,7 @@ extern cmdline_parse_ctx_t main_ctx[];
const char *prgname; /* to be set to argv[0] */
-static const char *recursive_call; /* used in linuxapp for MP and other tests */
+static const char *recursive_call; /* used in linux for MP and other tests */
static int
no_action(void){ return 0; }