2021-05-14 07:55:49 +08:00
|
|
|
# Notes to install latest gcc and arm-none-eabi-gcc
|
|
|
|
|
|
|
|
```
|
|
|
|
cat << EOF |sudo tee -a /etc/pacman.conf
|
|
|
|
|
|
|
|
[testing]
|
|
|
|
Include = /etc/pacman.d/mirrorlist
|
|
|
|
|
|
|
|
[community-testing]
|
|
|
|
Include = /etc/pacman.d/mirrorlist
|
|
|
|
|
|
|
|
[staging]
|
|
|
|
Include = /etc/pacman.d/mirrorlist
|
|
|
|
EOF
|
|
|
|
|
2022-01-09 23:09:50 +08:00
|
|
|
sudo pacman -Syu
|
2021-05-14 07:55:49 +08:00
|
|
|
|
2021-10-12 05:17:38 +08:00
|
|
|
# search available versions
|
2021-05-14 07:55:49 +08:00
|
|
|
pacman -Ss '^arm-none-eabi-gcc$'
|
|
|
|
pacman -Ss '^gcc$'
|
|
|
|
|
|
|
|
# depending on where the latest bleeding edge is:
|
|
|
|
sudo pacman -S community-testing/arm-none-eabi-gcc
|
|
|
|
sudo pacman -S arm-none-eabi-gcc
|
|
|
|
sudo pacman -S staging/gcc
|
|
|
|
sudo pacman -S testing/gcc
|
|
|
|
sudo pacman -S gcc
|
|
|
|
```
|
2021-06-26 04:50:19 +08:00
|
|
|
|
2022-10-29 04:17:22 +08:00
|
|
|
# Notes on run_tests.sh script
|
|
|
|
This script does both setup the mirrors and pip install and then run a
|
|
|
|
bunch of different builds with make and cmake together with the different combos
|
|
|
|
of RDV4, GENERIC, BTADDON combos.
|
|
|
|
|
2023-01-16 01:46:14 +08:00
|
|
|
If all tests OK, the script will finish with PASS.
|
2022-10-29 04:17:22 +08:00
|
|
|
|
|
|
|
|
2021-06-26 04:50:19 +08:00
|
|
|
# Notes to run tests
|
2023-01-16 01:46:14 +08:00
|
|
|
Add first the mirrors, see above, if needed.
|
2022-10-29 04:17:22 +08:00
|
|
|
|
|
|
|
The release test build script is to be run in proxmark root folder inside the docker env.
|
|
|
|
```
|
|
|
|
docker/archlinux/run_tests.sh;
|
2023-01-16 01:46:14 +08:00
|
|
|
```
|
2021-06-26 04:50:19 +08:00
|
|
|
|
2023-01-16 01:46:14 +08:00
|
|
|
Or if you want to run single test,
|
2021-06-26 04:50:19 +08:00
|
|
|
|
|
|
|
```
|
2022-10-29 04:17:22 +08:00
|
|
|
make clean; make -j
|
2023-07-16 23:25:43 +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-06-26 04:50:19 +08:00
|
|
|
tools/pm3_tests.sh --long
|
2023-07-16 23:25:43 +08:00
|
|
|
deactivate
|
2021-06-26 04:50:19 +08:00
|
|
|
```
|