Skip to content

Commit

Permalink
Revert "vengi-tools: remove failing roundtrip test"
Browse files Browse the repository at this point in the history
This reverts commit 50dae31.

(cherry picked from commit 97879bb)
  • Loading branch information
fgaz authored and Jonathan Ringer committed Mar 2, 2022
1 parent bf8c600 commit 0ad8b80
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
4 changes: 1 addition & 3 deletions pkgs/applications/graphics/vengi-tools/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,7 @@ in 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;
};
Expand Down
Original file line number Diff line number Diff line change
@@ -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
'';
}

0 comments on commit 0ad8b80

Please sign in to comment.