mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 21:40:12 +00:00
22 lines
459 B
Nix
22 lines
459 B
Nix
{
|
|
runCommand,
|
|
breseq,
|
|
}:
|
|
|
|
let
|
|
inherit (breseq) pname version;
|
|
in
|
|
|
|
runCommand "breseq-tests" { meta.timeout = 60; } ''
|
|
echo "Testing breseq - breseq executable"
|
|
export TESTBINPREFIX=${breseq}/bin
|
|
cp ${breseq}/tests $PWD/breseqtests -r
|
|
chmod -R +w $PWD/breseqtests
|
|
output=$($PWD/breseqtests/tmv_plasmid_circular_deletion/testcmd.sh 2>&1) || {
|
|
echo "$output"
|
|
echo "Error testing breseq - breseq executable"
|
|
exit 1
|
|
}
|
|
touch $out
|
|
''
|