Testing Packages¶
Strategies for testing spksrc packages.
Build Testing¶
# Primary architecture
make -C spk/<package> arch-x64-7.2
# Multiple architectures
make -C spk/<package> arch-x64-7.2 arch-aarch64-7.2 arch-armv7-7.1
# All architectures
make -C spk/<package> all-supported
Device Testing¶
- Install via Package Center > Manual Install (upload SPK from local computer)
- Check
/var/packages/<pkg>/var/*.log - Verify service starts correctly
Upgrade Testing¶
- Install previous version
- Configure and add data
- Upgrade to new version
- Verify data preserved
Checklist Before PR¶
- Builds for x64-7.2
- Builds for aarch64-7.2
- Installs without errors
- Service starts automatically
- Core features work
- Upgrades from previous version