From 26c63461f4f24a1856b387b0678b6677b7028e6e Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Fri, 7 Jan 2022 14:05:24 +0200 Subject: [PATCH] tests: rename testcase_leak.v to testcase_leak.vv --- .github/workflows/ci.yml | 6 +++--- vlib/v/tests/{testcase_leak.v => testcase_leak.vv} | 0 2 files changed, 3 insertions(+), 3 deletions(-) rename vlib/v/tests/{testcase_leak.v => testcase_leak.vv} (100%) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c377462845..af6a6ed6d7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -159,17 +159,17 @@ jobs: run: ./v -gc boehm -silent test-self - name: Test leak detector run: | - ./v -gc boehm_leak -o testcase_leak vlib/v/tests/testcase_leak.v + ./v -gc boehm_leak -o testcase_leak vlib/v/tests/testcase_leak.vv ./testcase_leak 2>leaks.txt grep "Found 1 leaked object" leaks.txt && grep ", sz=1000," leaks.txt - name: Test leak detector not being active for `-gc boehm` run: | - ./v -gc boehm -o testcase_leak vlib/v/tests/testcase_leak.v + ./v -gc boehm -o testcase_leak vlib/v/tests/testcase_leak.vv ./testcase_leak 2>leaks.txt [ "$(stat -c %s leaks.txt)" = "0" ] - name: Test leak detector not being active for normal compile run: | - ./v -o testcase_leak vlib/v/tests/testcase_leak.v + ./v -o testcase_leak vlib/v/tests/testcase_leak.vv ./testcase_leak 2>leaks.txt [ "$(stat -c %s leaks.txt)" = "0" ] diff --git a/vlib/v/tests/testcase_leak.v b/vlib/v/tests/testcase_leak.vv similarity index 100% rename from vlib/v/tests/testcase_leak.v rename to vlib/v/tests/testcase_leak.vv