syncthing: add runtime test

Run trivial check if the compiled binary works on the architecture.

Signed-off-by: Paul Spooren <mail@aparcar.org>
This commit is contained in:
Paul Spooren 2020-09-09 10:59:50 -10:00
parent c53f3bdc81
commit 0cc2a8dde3
2 changed files with 4 additions and 1 deletions

View File

@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=syncthing
PKG_VERSION:=1.9.0
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=syncthing-source-v$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/syncthing/syncthing/releases/download/v$(PKG_VERSION)

3
utils/syncthing/test.sh Normal file
View File

@ -0,0 +1,3 @@
#!/bin/sh
syncthing --version | grep "${2%%-*}"