Skip to content

Commit 8bf01b0

Browse files
committed
Removing Tests
1 parent 3a959d0 commit 8bf01b0

File tree

5 files changed

+0
-385
lines changed

5 files changed

+0
-385
lines changed

.github/workflows/linux.yml

Lines changed: 0 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -92,27 +92,6 @@ jobs:
9292
make call_c_from_js.c
9393
make fail_test.c
9494
ls -1
95-
- name: Test Static
96-
timeout-minutes: 2
97-
run: |
98-
cd tests
99-
call_c_from_js=$(pwd)/call_c_from_js
100-
fail_test=$(pwd)/fail_test
101-
xvfb-run "$call_c_from_js"
102-
# Run again and capture its output.
103-
output=$(xvfb-run --auto-servernum --server-num=1 "$call_c_from_js")
104-
[[ "$output" == *"Hello from the backend!"* ]] && true || exit 1
105-
xvfb-run --auto-servernum --server-num=1 "$fail_test" && exit 1 || true
106-
- name: Test Dynamic
107-
timeout-minutes: 2
108-
run: |
109-
cd tests
110-
call_c_from_js=$(pwd)/call_c_from_js-dyn
111-
fail_test=$(pwd)/fail_test-dyn
112-
xvfb-run "$call_c_from_js"
113-
output=$(xvfb-run --auto-servernum --server-num=1 "$call_c_from_js")
114-
[[ "$output" == *"Hello from the backend!"* ]] && true || exit 1
115-
xvfb-run --auto-servernum --server-num=1 "$fail_test" && exit 1 || true
11695
- name: Prepare Artifact
11796
run: |
11897
cp -r include dist
@@ -219,33 +198,3 @@ jobs:
219198
fi
220199
done
221200
exit $exit_code
222-
# - name: Setup Browser
223-
# uses: browser-actions/setup-chrome@v1
224-
# - name: Setup Tests
225-
# run: |
226-
# sudo apt update && sudo apt install xvfb
227-
# cd tests
228-
# make call_c_from_js.c
229-
# make fail_test.c
230-
# ls -1
231-
# - name: Test Static
232-
# timeout-minutes: 2
233-
# run: |
234-
# cd tests
235-
# call_c_from_js=$(pwd)/call_c_from_js
236-
# fail_test=$(pwd)/fail_test
237-
# xvfb-run "$call_c_from_js"
238-
# # Run again and capture its output.
239-
# output=$(xvfb-run --auto-servernum --server-num=1 "$call_c_from_js")
240-
# [[ "$output" == *"Hello from the backend!"* ]] && true || exit 1
241-
# xvfb-run --auto-servernum --server-num=1 "$fail_test" && exit 1 || true
242-
# - name: Test Dynamic
243-
# timeout-minutes: 2
244-
# run: |
245-
# cd tests
246-
# call_c_from_js=$(pwd)/call_c_from_js-dyn
247-
# fail_test=$(pwd)/fail_test-dyn
248-
# xvfb-run "$call_c_from_js"
249-
# output=$(xvfb-run --auto-servernum --server-num=1 "$call_c_from_js")
250-
# [[ "$output" == *"Hello from the backend!"* ]] && true || exit 1
251-
# xvfb-run --auto-servernum --server-num=1 "$fail_test" && exit 1 || true

.github/workflows/linux_arm.yml

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -119,41 +119,6 @@ jobs:
119119
# fi
120120
# done
121121
# exit $exit_code
122-
# - name: Setup Browser
123-
# if: matrix.cc == 'arm64'
124-
# uses: browser-actions/setup-chrome@v1
125-
# - name: Setup Tests
126-
# if: matrix.cc == 'arm64'
127-
# run: |
128-
# sudo apt update
129-
# sudo apt install -y xvfb
130-
# cd tests
131-
# make CC=aarch64-linux-gnu-gcc call_c_from_js.c
132-
# make CC=aarch64-linux-gnu-gcc fail_test.c
133-
# ls -1
134-
# - name: Test Static
135-
# if: matrix.cc == 'arm64'
136-
# timeout-minutes: 2
137-
# run: |
138-
# cd tests
139-
# call_c_from_js=$(pwd)/call_c_from_js
140-
# fail_test=$(pwd)/fail_test
141-
# xvfb-run "$call_c_from_js"
142-
# # Run again and capture its output.
143-
# output=$(xvfb-run --auto-servernum --server-num=1 "$call_c_from_js")
144-
# [[ "$output" == *"Hello from the backend!"* ]] && true || exit 1
145-
# xvfb-run --auto-servernum --server-num=1 "$fail_test" && exit 1 || true
146-
# - name: Test Dynamic
147-
# if: matrix.cc == 'arm64'
148-
# timeout-minutes: 2
149-
# run: |
150-
# cd tests
151-
# call_c_from_js=$(pwd)/call_c_from_js-dyn
152-
# fail_test=$(pwd)/fail_test-dyn
153-
# xvfb-run "$call_c_from_js"
154-
# output=$(xvfb-run --auto-servernum --server-num=1 "$call_c_from_js")
155-
# [[ "$output" == *"Hello from the backend!"* ]] && true || exit 1
156-
# xvfb-run --auto-servernum --server-num=1 "$fail_test" && exit 1 || true
157122
- name: Prepare Artifact
158123
run: |
159124
cp -r include dist

tests/GNUmakefile

Lines changed: 0 additions & 156 deletions
This file was deleted.

tests/call_c_from_js.c

Lines changed: 0 additions & 113 deletions
This file was deleted.

0 commit comments

Comments
 (0)