@@ -1,8 +1,8 @@
1#!/usr/bin/env bash
1#!/usr/bin/env bash
2# Tests that documentation properly is merged with existent.
2# Tests that documentation properly is merged with existent.
3−${IDRIS:-idris} --mkdoc package_a.ipkg
3+${IDRIS:-idris} $@ --mkdoc package_a.ipkg
4[ -f test_merge_doc/IdrisDoc ] && echo "IdrisDoc file written"
4[ -f test_merge_doc/IdrisDoc ] && echo "IdrisDoc file written"
5−${IDRIS:-idris} --mkdoc package_b.ipkg
5+${IDRIS:-idris} $@ --mkdoc package_b.ipkg
6ls -1p test_merge_doc/docs
6ls -1p test_merge_doc/docs
7if grep -q "href\\=\"docs/A.fully.Qualified.NAME\\.html\"" test_merge_doc/index.html; then
7if grep -q "href\\=\"docs/A.fully.Qualified.NAME\\.html\"" test_merge_doc/index.html; then
8 echo A.fully.Qualified.NAME is in the index
8 echo A.fully.Qualified.NAME is in the index
@@ -14,4 +14,4 @@ if grep -q "href\\=\"docs/B\\.html\"" test_merge_doc/index.html; then
15 echo B is NOT in the index
15 echo B is NOT in the index
17−rm -rf *.ibc *_doc A/fully/Qualified/NAME.ibc
17+rm -rf *.ibc *_doc A/fully/Qualified/NAME.ibc