Skip to content
Snippets Groups Projects
Commit aa7b7c5b authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

testrun: add exampoles in help page

parent eee35f7f
No related branches found
No related tags found
No related merge requests found
...@@ -31,6 +31,7 @@ if ($argc > 1) { ...@@ -31,6 +31,7 @@ if ($argc > 1) {
} }
if(isset($ARGS['-h']) || isset($ARGS['--help'])){ if(isset($ARGS['-h']) || isset($ARGS['--help'])){
$_self=basename(__FILE__);
echo " echo "
This ist the test suite for amcli calls. This ist the test suite for amcli calls.
It executes all scripts in this directory. They perform checks for metadata, It executes all scripts in this directory. They perform checks for metadata,
...@@ -38,7 +39,7 @@ help, all checks and ini features. ...@@ -38,7 +39,7 @@ help, all checks and ini features.
\e[1mSYNTAX:\e[0m \e[1mSYNTAX:\e[0m
./00_start.php [-b] $_self [-b]
🔷 \e[1mOPTIONS:\e[0m 🔷 \e[1mOPTIONS:\e[0m
...@@ -51,6 +52,13 @@ help, all checks and ini features. ...@@ -51,6 +52,13 @@ help, all checks and ini features.
$AMCLIBIN $AMCLIBIN
-l, --list list filenames of tests -l, --list list filenames of tests
👉 \e[1mEXAMPLES:\e[0m
$_self Run all tests with php sccript src/amcli.php
$_self --bin Run all tests with compiled binary built_packages/amcli
$_self --bin=<FILE>
Run all tests with given binary
"; ";
exit(0); exit(0);
} }
......
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