From affb38d7bf3baf173b851cf55ce427acc19909c0 Mon Sep 17 00:00:00 2001 From: Joao Paulo Magalhaes Date: Tue, 5 May 2020 00:55:33 +0200 Subject: [PATCH] update tests --- src/c4/cmany/args.py | 8 ++++---- test/test06xcompile.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/c4/cmany/args.py b/src/c4/cmany/args.py index e39544a..ee11d6f 100644 --- a/src/c4/cmany/args.py +++ b/src/c4/cmany/args.py @@ -152,10 +152,10 @@ def add_basic(parser): build directory. Passing a directory which does not contain a CMakeLists.txt or CMakeCache.txt will cause an error.""") - parser.add_argument("-B", "--build-root", "--build_root", default="./build", - help="set the build root (defaults to ./build). ") - parser.add_argument("-I", "--install-root", "--install_root", default="./install", - help="set the install root (defaults to ./install)") + parser.add_argument("-B", "--build-dir", "--build_dir", default="./build", + help="set the build root directory (defaults to ./build). ") + parser.add_argument("-I", "--install-dir", "--install_dir", default="./install", + help="set the install root directory (defaults to ./install)") parser.add_argument("-j", "--jobs", default=cpu_count(), help="""use the given number of parallel jobs (defaults to %(default)s on this machine).""") diff --git a/test/test06xcompile.py b/test/test06xcompile.py index bb5bb04..7790298 100644 --- a/test/test06xcompile.py +++ b/test/test06xcompile.py @@ -37,7 +37,7 @@ def run_with_args(testdir, args_in): shutil.rmtree(idir) # args = ['--show-args', 'build'] - args += ['--build-dir', bdir, '--install-dir', idir] + args += ['--build-root', bdir, '--install-root', idir] args += args_in cmany_main(args) #