Files
nixpkgs/pkgs/by-name/br/breseq/tests/breseq.nix
Cameron Roots cadbfc35a5 breseq: init at 0.39.0
Computational pipeline for finding mutations in bacteria
2026-07-01 16:09:22 +02:00

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
''