Skip to content
Snippets Groups Projects
Commit e0c17e5a authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

setup-base-dir: add a test for setup-base-dir

parent 47d60ed7
No related branches found
No related tags found
No related merge requests found
============================================
Check the script that setup a base directory
============================================
$ SRC_DIR=$TESTDIR/..
Run the script
--------------
$ $PYTHON $SRC_DIR/bin/setup-base-dir benchmark-home
Creating folders
Installing poulpe (editable) into a new venv
Creating a "bin/" directory with some utility
Create symlinks to development Poulpe for suites
Check the resulting dir
=======================
$ ls -1F benchmark-home
benchmarks/
bin/
bin-envs/
data-envs/
results/
suites@
check `bin/` content
--------------------
The poulpe executable works
$ benchmark-home/bin/poulpe
Usage: poulpe [OPTIONS] SUBCOMMAND [SUBCOMMAND_ARGS]...
Wrapper around Poulpe binaries for ease of calling.
Available Poulpe commands:
bin-env-util, diff-result, env-desc, result-compare, result-search, run-util
Options:
--help Show this message and exit.
The shell works
$ benchmark-home/bin/shell poulpe
Usage: poulpe [OPTIONS] SUBCOMMAND [SUBCOMMAND_ARGS]...
Wrapper around Poulpe binaries for ease of calling.
Available Poulpe commands:
bin-env-util, diff-result, env-desc, result-compare, result-search, run-util
Options:
--help Show this message and exit.
We can activate the env
$ . benchmark-home/bin/activate
$ which poulpe
$TESTTMP/benchmark-home/.venv/bin/poulpe
$ deactivate
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment