diff --git a/internal/cmd/buildtool/android_test.go b/internal/cmd/buildtool/android_test.go index 416a857d2d..7daa564dfb 100644 --- a/internal/cmd/buildtool/android_test.go +++ b/internal/cmd/buildtool/android_test.go @@ -1701,6 +1701,7 @@ func TestAndroidBuildCdepsTor(t *testing.T) { "--disable-tool-name-check", "--disable-systemd", "--prefix=/", + "--disable-unittests", }, }, { Env: []string{}, @@ -1777,6 +1778,7 @@ func TestAndroidBuildCdepsTor(t *testing.T) { "--disable-tool-name-check", "--disable-systemd", "--prefix=/", + "--disable-unittests", }, }, { Env: []string{}, @@ -1853,6 +1855,7 @@ func TestAndroidBuildCdepsTor(t *testing.T) { "--disable-tool-name-check", "--disable-systemd", "--prefix=/", + "--disable-unittests", }, }, { Env: []string{}, @@ -1929,6 +1932,7 @@ func TestAndroidBuildCdepsTor(t *testing.T) { "--disable-tool-name-check", "--disable-systemd", "--prefix=/", + "--disable-unittests", }, }, { Env: []string{}, diff --git a/internal/cmd/buildtool/cdepstor.go b/internal/cmd/buildtool/cdepstor.go index 0098b0ff03..2c47aa7a22 100644 --- a/internal/cmd/buildtool/cdepstor.go +++ b/internal/cmd/buildtool/cdepstor.go @@ -56,6 +56,7 @@ func cdepsTorBuildMain(globalEnv *cBuildEnv, deps buildtoolmodel.Dependencies) { "--disable-tool-name-check", "--disable-systemd", "--prefix=/", + "--disable-unittests", ) runtimex.Try0(shellx.RunEx(defaultShellxConfig(), argv, envp)) diff --git a/internal/cmd/buildtool/linuxcdeps_test.go b/internal/cmd/buildtool/linuxcdeps_test.go index 87a5f6cbeb..85ca172934 100644 --- a/internal/cmd/buildtool/linuxcdeps_test.go +++ b/internal/cmd/buildtool/linuxcdeps_test.go @@ -346,6 +346,7 @@ func TestLinuxCdepsBuildMain(t *testing.T) { "--disable-tool-name-check", "--disable-systemd", "--prefix=/", + "--disable-unittests", }, }, { Env: []string{},