Commit 1a88242e authored by Elana Hashman's avatar Elana Hashman

Update tests and fix broken lein-core jar

parent e6446bb1
......@@ -3,6 +3,7 @@ leiningen-clojure (2.8.1-2) UNRELEASED; urgency=medium
* Fix package dependencies.
* Fix broken autopkgtests.
* Remove strip-nondeterminism to address performance issues.
* Fix broken lein-core jar.
-- Elana Hashman <ehashman@debian.org> Sat, 23 Dec 2017 20:18:05 +0000
......
......@@ -60,6 +60,8 @@ LEIN_BOOTSTRAP=$(subst $(SPACE),:,$(BOOTSTRAP_PATHS))
dh $@ --with bash-completion --with javahelper --buildsystem=maven
override_dh_auto_build:
cp resources/leiningen/bootclasspath-deps.clj \
leiningen-core/src/leiningen/bootclasspath-deps.clj
dh_auto_build -- -f leiningen-core/pom.xml install
echo $(LEIN_BOOTSTRAP) > leiningen-core/.lein-bootstrap
chmod a+x bin/lein
......@@ -78,6 +80,7 @@ override_dh_auto_install:
mh_installpom -pleiningen pom.xml
override_dh_auto_clean:
rm -f leiningen-core/src/leiningen/bootclasspath-deps.clj
dh_auto_clean -- -f leiningen-core/pom.xml clean
rm -f leiningen-core/.lein-bootstrap
rm -f .lein-project-checksum
......
#!/bin/bash
num_checks=1
_check_task() {
if [[ ! "$1" =~ "$2" ]]; then
echo "lein check failed"
if ! [[ "$2" == *"$1"* ]]; then
echo "lein check $num_checks failed"
echo "diff:"
diff <(echo "$1") <(echo "$2")
rm -rf /tmp/lein-test
exit 1
fi
num_checks=$((num_checks + 1))
}
cd /tmp
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment