Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.0.24 #27

Merged
merged 6 commits into from
Aug 10, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 60 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# quick guide

#### installation

```shell
python3 -m pip install phlop -U
```

#### cmake test runner for cmake project with 20 cores

```shell
python3 -m phlop.run.test_cases -c 20 -d build --cmake
```

#### etc

```shell
python3 -m phlop
Available:
phlop.app
phlop.os
phlop.proc
phlop.reflection
phlop.run
phlop.string
phlop.testing
```

```shell
python3 -m phlop.run
Available:
phlop.run.mpirun_stats_man -h
phlop.run.perf -h
phlop.run.stats_man -h
phlop.run.test_cases -h
phlop.run.valgrind -h
```

```shell
python3 -m phlop.run.test_cases -h
usage: test_cases.py [-h] [--cmake] [-c CORES] [-d DIR] [-p] [--prefix PREFIX] [--postfix POSTFIX] [--dump [DUMP]] [--load LOAD] [-r REGEX] [-R] [--logging LOGGING]

Flexible parallel test runner

options:
-h, --help show this help message and exit
--cmake Enable cmake build config tests extraction (default: False)
-c CORES, --cores CORES
Parallism core/thread count (default: 1)
-d DIR, --dir DIR Working directory (default: .)
-p, --print_only Print only, no execution (default: False)
--prefix PREFIX Prepend string to execution string (default: )
--postfix POSTFIX Append string to execution string (default: )
--dump [DUMP] Dump discovered tests as YAML to filepath, no execution (default: None)
--load LOAD globbing filepath for files exported from dump (default: None)
-r REGEX, --regex REGEX
Filter out non-matching execution strings (default: None)
-R, --reverse reverse order - higher core count tests preferred (default: False)
--logging LOGGING 0=off, 1=on non zero exit code, 2=always (default: 1)
```
Loading
Loading