From de974de3d8f4ed38ff7fac6447fdcfec2c00cfc1 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Tue, 1 Jul 2025 16:46:35 +0300 Subject: dont run old tests by default --- integrationtests-old/dcat_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'integrationtests-old/dcat_test.go') diff --git a/integrationtests-old/dcat_test.go b/integrationtests-old/dcat_test.go index b2a041c..eaa23a8 100644 --- a/integrationtests-old/dcat_test.go +++ b/integrationtests-old/dcat_test.go @@ -9,7 +9,7 @@ import ( ) func TestDCat1(t *testing.T) { - if !config.Env("DTAIL_INTEGRATION_TEST_RUN_MODE") { + if !config.Env("DTAIL_OLD_INTEGRATION_TEST_RUN_MODE") { t.Log("Skipping") return } @@ -40,7 +40,7 @@ func testDCat1(t *testing.T, inFile string) error { } func TestDCat2(t *testing.T) { - if !config.Env("DTAIL_INTEGRATION_TEST_RUN_MODE") { + if !config.Env("DTAIL_OLD_INTEGRATION_TEST_RUN_MODE") { return } inFile := "dcat2.txt" @@ -69,7 +69,7 @@ func TestDCat2(t *testing.T) { } func TestDCat3(t *testing.T) { - if !config.Env("DTAIL_INTEGRATION_TEST_RUN_MODE") { + if !config.Env("DTAIL_OLD_INTEGRATION_TEST_RUN_MODE") { return } inFile := "dcat3.txt" @@ -78,7 +78,7 @@ func TestDCat3(t *testing.T) { args := []string{"--plain", "--logLevel", "error", "--cfg", "none", inFile} - // Notice, with DTAIL_INTEGRATION_TEST_RUN_MODE the DTail max line length is set + // Notice, with DTAIL_OLD_INTEGRATION_TEST_RUN_MODE the DTail max line length is set // to 1024! _, err := runCommand(context.TODO(), t, outFile, "../dcat", args...) if err != nil { @@ -95,7 +95,7 @@ func TestDCat3(t *testing.T) { } func TestDCatColors(t *testing.T) { - if !config.Env("DTAIL_INTEGRATION_TEST_RUN_MODE") { + if !config.Env("DTAIL_OLD_INTEGRATION_TEST_RUN_MODE") { return } -- cgit v1.2.3