#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
	dh $@

override_dh_auto_test:
ifneq (,$(filter $(DEB_BUILD_ARCH), loongarch64))
        DEB_BUILD_OPTIONS = nocheck
endif	
ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
	nodejs test/prepare && mocha --bail -R spec test/test
endif
