enable unity-test with color output

This commit is contained in:
Rongsong Shen 2025-11-04 16:27:15 +08:00
parent 0158ebc202
commit 4dc03b821e
2 changed files with 3 additions and 0 deletions

View file

@ -12,6 +12,7 @@ let
with_pkgconf = true; with_pkgconf = true;
}; };
tinylog = callPackage ./pkgs/t/tinylog/package.nix {}; tinylog = callPackage ./pkgs/t/tinylog/package.nix {};
unity_test_with_color = callPackage ./pkgs/u/unity-test/package.nix {};
in in
{ {
xbuild = xbuild; xbuild = xbuild;
@ -19,4 +20,5 @@ in
cedro = cedro; cedro = cedro;
zlog_with_pkgconf = zlog_with_pkgconf; zlog_with_pkgconf = zlog_with_pkgconf;
tinylog = tinylog; tinylog = tinylog;
unity_test_with_color = unity_test_with_color;
} }

View file

@ -17,6 +17,7 @@ stdenv.mkDerivation (finalAttrs: {
}; };
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
makeFlags = [ "UNITY_OUTPUT_COLOR=1" ];
doCheck = true; doCheck = true;
meta = { meta = {