Lines 81-86
Link Here
|
81 |
} |
81 |
} |
82 |
|
82 |
|
83 |
src_test() { |
83 |
src_test() { |
|
|
84 |
local testdir="${T}/tests/tests" |
85 |
mkdir -p "${testdir}" || die |
86 |
chmod 777 "${T}/tests" |
87 |
chmod 777 "${T}/tests/tests" |
84 |
cd "${S}/tests/" |
88 |
cd "${S}/tests/" |
85 |
rm -f *svn* # Subversion tests fail with 1.5 |
89 |
rm -f *svn* # Subversion tests fail with 1.5 |
86 |
rm -f test-convert-baz* # GNU Arch baz |
90 |
rm -f test-convert-baz* # GNU Arch baz |
Lines 89-96
Link Here
|
89 |
rm -f test-convert-git* # git |
93 |
rm -f test-convert-git* # git |
90 |
rm -f test-convert-mtn* # monotone |
94 |
rm -f test-convert-mtn* # monotone |
91 |
rm -f test-convert-tla* # GNU Arch tla |
95 |
rm -f test-convert-tla* # GNU Arch tla |
|
|
96 |
rm -f test-command-template # Test is broken when ran as root |
97 |
rm -f test-convert # Test is broken when ran as root |
98 |
rm -f test-lock-badness # Test is broken when ran as root |
99 |
rm -f test-permissions # Test is broken when ran as root |
100 |
rm -f test-pull-permission # Test is broken when ran as root |
92 |
einfo "Running Mercurial tests ..." |
101 |
einfo "Running Mercurial tests ..." |
93 |
python run-tests.py || die "test failed" |
102 |
python \ |
|
|
103 |
run-tests.py \ |
104 |
--jobs=1 \ |
105 |
--tmpdir="${testdir}" \ |
106 |
--with-hg="${S}" \ |
107 |
|| die "test failed" |
94 |
} |
108 |
} |
95 |
|
109 |
|
96 |
pkg_postinst() { |
110 |
pkg_postinst() { |