Skip to content

Commit

Permalink
ci: Enable CT-Library tests for GH Linux action
Browse files Browse the repository at this point in the history
Tests were disabled due to concurrently issues in cancel test.

Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
  • Loading branch information
freddy77 committed Dec 7, 2024
1 parent abea4da commit 37ac74a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,25 +102,25 @@ jobs:
- name: make check
run: |
make -C src/tds/unittests check VERBOSE=1
make -C src/dblib/unittests check VERBOSE=1
#make -C src/ctlib/unittests check VERBOSE=1
make -C src/replacements/unittests check VERBOSE=1
make -C src/utils/unittests check VERBOSE=1
make -C src/apps/unittests check VERBOSE=1
make -C src/tds/unittests check VERBOSE=1
make -C src/dblib/unittests check VERBOSE=1
make -C src/ctlib/unittests check VERBOSE=1
make -C src/odbc/unittests check VERBOSE=1
make -C src/apps/unittests check VERBOSE=1
- name: Archive test results on failure
if: failure()
uses: actions/upload-artifact@v4
with:
name: test-logs
path: |
src/replacements/unittests/test-suite.log
src/utils/unittests/test-suite.log
src/tds/unittests/test-suite.log
src/dblib/unittests/test-suite.log
src/ctlib/unittests/test-suite.log
src/replacements/unittests/test-suite.log
src/utils/unittests/test-suite.log
src/odbc/unittests/test-suite.log
src/apps/unittests/test-suite.log
/tmp/freetds/*
Expand Down
6 changes: 6 additions & 0 deletions src/ctlib/unittests/cancel.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ main(void)
unsigned clock = 200000;

printf("%s: Check asynchronous called ct_cancel()\n", __FILE__);

/* disable dump for this test, there are some issues with concurrent
* execution of this test if logging is enabled. */
unsetenv("TDSDUMP");
unsetenv("TDSDUMPCONFIG");

if (verbose) {
printf("Trying login\n");
}
Expand Down

0 comments on commit 37ac74a

Please sign in to comment.