if dpkg --compare-versions `dpkg-query -W -f '${version}' coffeescript` gt 2-1; then
	echo 'Disable tests for coffeescript 2: snapshots changed'
	if test "$AUTOPKGTEST_TMP" != ""; then
		exit 77
	fi
else
	if test "$AUTOPKGTEST_TMP" != ""; then
		grunt
	fi
	grunt test
fi
