mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
Revert "vengi-tools: remove failing roundtrip test"
This reverts commit 50dae31a14
.
This commit is contained in:
parent
7d87dadcea
commit
97879bb90d
@ -87,9 +87,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
passthru.tests = {
|
||||
# There used to be a roundtrip test here, but it started failing on 0.0.17
|
||||
# Relevant upstream ticket:
|
||||
# https://github.com/mgerhardy/vengi/issues/113
|
||||
voxconvert-roundtrip = callPackage ./test-voxconvert-roundtrip.nix {};
|
||||
voxconvert-all-formats = callPackage ./test-voxconvert-all-formats.nix {};
|
||||
run-voxedit = nixosTests.vengi-tools;
|
||||
};
|
||||
|
@ -0,0 +1,15 @@
|
||||
{ stdenv
|
||||
, vengi-tools
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "vengi-tools-test-voxconvert-roundtrip";
|
||||
meta.timeout = 10;
|
||||
buildCommand = ''
|
||||
${vengi-tools}/bin/vengi-voxconvert --input ${vengi-tools}/share/vengi-voxedit/chr_knight.qb --output chr_knight.vox
|
||||
${vengi-tools}/bin/vengi-voxconvert --input chr_knight.vox --output chr_knight.qb
|
||||
${vengi-tools}/bin/vengi-voxconvert --input chr_knight.qb --output chr_knight1.vox
|
||||
diff chr_knight.vox chr_knight1.vox
|
||||
touch $out
|
||||
'';
|
||||
}
|
Loading…
Reference in New Issue
Block a user