[darcs-users] can we get rid of perl requirement in our test suite?
Eric Kow
kowey at darcs.net
Thu May 14 16:53:34 UTC 2009
In a separate thread
(see <5a376f550905140009l6519eds9c68d46f90e995b8 at mail.gmail.com>),
On Thu, May 14, 2009 at 09:09:30 +0200, Salvatore Insalaco wrote:
> Mmmm actually it's a bit harder than that. Some tests require perl
> (e.g. pull_binary.sh).
| % grep perl tests/*
| tests/optimize_relink.sh: echo 'use File::Basename; $res=0; while ($fn=<'$1'/*>) { $fn2="'$2'/" . basename($fn); @fd1=lstat($fn); @fd2=lstat($fn2); $res += ($fd1[1] != $fd2[1]);}; exit($res);' | perl
| tests/pull_binary.sh:perl -e 'print "a"x1048576' > foo
| tests/pull_compl.sh: perl -i~ -pe "$1" foo
It'd be nice if we could make just one last push to get rid of these.
Ideas?
| tests/set_scripts_executable.sh:#!/usr/bin/env perl
| tests/run-all-tests:echo "Let's check that make dist works properly..."
Non-issues here
| tests/README.test_maintainers.txt: perl shell_harness annotate.sh
Sounds like a documentation tweak to do
--
Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
PGP Key ID: 08AC04F9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20090514/ac040f21/attachment.pgp>
More information about the darcs-users
mailing list