From 8859d6596a6ef6ca78ccb5cc68b684a16be68ccb Mon Sep 17 00:00:00 2001 From: Paulo Matos Date: Wed, 13 May 2020 09:23:42 +0200 Subject: [PATCH] Add future tests to CI (#3175) We added these before but noticed CGC issues so we had to revert it to fix those. Future tests added again but a few of them disabled for CGC. --- .github/workflows/ci-pr.yml | 2 ++ .github/workflows/ci-push.yml | 6 ++++++ .github/workflows/ci-ubsan.yml | 6 ++++++ pkgs/racket-test/tests/future/vector-limit.rkt | 9 +++++---- 4 files changed, 19 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-pr.yml b/.github/workflows/ci-pr.yml index e7c648210f..406f372466 100644 --- a/.github/workflows/ci-pr.yml +++ b/.github/workflows/ci-pr.yml @@ -32,6 +32,7 @@ jobs: raco test -l tests/match/main raco test -l tests/zo-path raco test -c tests/xml + raco test -c tests/future raco test -l tests/db/all-tests raco test -c tests/stxparse raco test -c tests/syntax @@ -71,5 +72,6 @@ jobs: call racket\raco.exe test -l tests/match/main call racket\raco.exe test -l tests/zo-path call racket\raco.exe test -c tests/xml + call racket\raco.exe test -c tests/future call racket\raco.exe test -l tests/db/all-tests racket\raco.exe test -c tests/stxparse diff --git a/.github/workflows/ci-push.yml b/.github/workflows/ci-push.yml index 97783b6bc4..89e9785ffd 100644 --- a/.github/workflows/ci-push.yml +++ b/.github/workflows/ci-push.yml @@ -308,6 +308,8 @@ jobs: run: raco test -l tests/zo-path - name: Run tests/xml run: raco test -c tests/xml + - name: Run tests/future + run: raco test -c tests/future - name: Run tests/stxparse run: raco test -c tests/stxparse - name: Install db tests dependency @@ -381,6 +383,8 @@ jobs: run: raco test -l tests/zo-path - name: Run tests/xml run: raco test -c tests/xml + - name: Run tests/future + run: raco test -c tests/future - name: Run tests/stxparse run: raco test -c tests/stxparse - name: Install db tests dependency @@ -446,6 +450,8 @@ jobs: run: raco test -l tests/zo-path - name: Run tests/xml run: raco test -c tests/xml + - name: Run tests/future + run: raco test -c tests/future - name: Run tests/stxparse run: raco test -c tests/stxparse - name: Install db tests dependency diff --git a/.github/workflows/ci-ubsan.yml b/.github/workflows/ci-ubsan.yml index b58d948dd1..fd3a8c5fe9 100644 --- a/.github/workflows/ci-ubsan.yml +++ b/.github/workflows/ci-ubsan.yml @@ -74,6 +74,9 @@ jobs: - name: Run tests/xml continue-on-error: true run: raco test -c tests/xml | tee logs/xml.log + - name: Run tests/future + continue-on-error: true + run: raco test -c tests/future - name: Run tests/stxparse continue-on-error: true run: raco test -c tests/stxparse | tee logs/stxparse.log @@ -164,6 +167,9 @@ jobs: - name: Run tests/xml continue-on-error: true run: raco test -c tests/xml | tee logs/xml.log + - name: Run tests/future + continue-on-error: true + run: raco test -c tests/future - name: Run tests/stxparse continue-on-error: true run: raco test -c tests/stxparse | tee logs/stxparse.log diff --git a/pkgs/racket-test/tests/future/vector-limit.rkt b/pkgs/racket-test/tests/future/vector-limit.rkt index 80732cf5b3..20dcd57e77 100644 --- a/pkgs/racket-test/tests/future/vector-limit.rkt +++ b/pkgs/racket-test/tests/future/vector-limit.rkt @@ -38,7 +38,8 @@ (error "didn't get out-of-memory or shutdown as expected")) (printf "ok at ~a\n" size)) -(try #x10000) -(try #x100000) -(try #x1000000) -(try #x10000000) +(unless (eq? (system-type 'gc) 'cgc) + (try #x10000) + (try #x100000) + (try #x1000000) + (try #x10000000))