2022-10-29 05:38:22 +08:00
|
|
|
# Notes on run_tests.sh script
|
2023-01-16 01:46:14 +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 05:38:22 +08:00
|
|
|
|
2023-01-16 01:46:14 +08:00
|
|
|
If all tests OK, the script will finish with PASS.
|
2022-10-29 05:38:22 +08:00
|
|
|
|
|
|
|
|
2021-09-05 05:33:52 +08:00
|
|
|
# Notes to run tests
|
2022-10-29 05:38:22 +08:00
|
|
|
The script is to be run in proxmark root folder inside the docker env.
|
|
|
|
|
|
|
|
```
|
2023-07-17 09:10:11 +08:00
|
|
|
docker/debian-13-trixie/run_tests.sh;
|
2023-01-16 01:46:14 +08:00
|
|
|
```
|
2022-10-29 05:38:22 +08:00
|
|
|
|
2023-01-16 01:46:14 +08:00
|
|
|
Or if you want to run single test,
|
2021-09-05 05:33:52 +08:00
|
|
|
|
|
|
|
```
|
|
|
|
sudo apt update
|
2022-10-29 05:38:22 +08:00
|
|
|
make clean; make -j
|
2023-07-17 09:10:11 +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
|
2021-09-05 05:33:52 +08:00
|
|
|
tools/pm3_tests.sh --long
|
2023-07-17 09:10:11 +08:00
|
|
|
deactivate
|
2021-09-05 05:33:52 +08:00
|
|
|
```
|