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 = {
|
passthru.tests = {
|
||||||
# There used to be a roundtrip test here, but it started failing on 0.0.17
|
voxconvert-roundtrip = callPackage ./test-voxconvert-roundtrip.nix {};
|
||||||
# Relevant upstream ticket:
|
|
||||||
# https://github.com/mgerhardy/vengi/issues/113
|
|
||||||
voxconvert-all-formats = callPackage ./test-voxconvert-all-formats.nix {};
|
voxconvert-all-formats = callPackage ./test-voxconvert-all-formats.nix {};
|
||||||
run-voxedit = nixosTests.vengi-tools;
|
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 a new issue