Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
biojppm committed May 5, 2020
1 parent 7fafaee commit affb38d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/c4/cmany/args.py
Original file line number Diff line number Diff line change
Expand Up @@ -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).""")
Expand Down
2 changes: 1 addition & 1 deletion test/test06xcompile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
#
Expand Down

0 comments on commit affb38d

Please sign in to comment.