2022-10-29 07:01:06 +08:00
|
|
|
# Notes on run_tests.sh script
|
2023-01-16 07:34:02 +08:00
|
|
|
This script runs a bunch of different builds with make and cmake together
|
|
|
|
with the different combos of RDV4, GENERIC, BTADDON combos.
|
2022-10-29 07:01:06 +08:00
|
|
|
|
2023-01-16 07:34:02 +08:00
|
|
|
If all tests OK, the script will finish with PASS.
|
2022-10-29 07:01:06 +08:00
|
|
|
|
2021-06-26 05:31:19 +08:00
|
|
|
# Notes to run tests
|
2022-10-29 07:01:06 +08:00
|
|
|
The script is to be run in proxmark root folder inside the docker env.
|
|
|
|
|
|
|
|
```
|
|
|
|
docker/opensuse-tumbleweed/run_tests.sh;
|
2023-01-16 07:34:02 +08:00
|
|
|
```
|
2022-10-29 07:01:06 +08:00
|
|
|
|
2023-01-16 07:34:02 +08:00
|
|
|
Or if you want to run single test,
|
2021-06-26 05:31:19 +08:00
|
|
|
|
|
|
|
```
|
2023-01-16 07:34:02 +08:00
|
|
|
sudo zypper refresh && sudo zypper --non-interactive update
|
2022-10-29 06:38:48 +08:00
|
|
|
make clean; make -j
|
2023-09-08 21:46:49 +08:00
|
|
|
python3 -m venv /tmp/venv
|
|
|
|
source /tmp/venv/bin/activate
|
|
|
|
python3 -m pip install --use-pep517 pyaes
|
|
|
|
python3 -m pip install ansicolors sslcrypto
|
2023-01-16 07:34:02 +08:00
|
|
|
tools/pm3_tests.sh --long
|
2023-09-08 21:46:49 +08:00
|
|
|
deactivate
|
2021-06-26 05:31:19 +08:00
|
|
|
```
|