Skip to content

Commit 4cdfb4c

Browse files
committed
Fix tests for casr-js
1 parent a8e6633 commit 4cdfb4c

File tree

4 files changed

+132
-78
lines changed

4 files changed

+132
-78
lines changed

.github/workflows/amd64.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ jobs:
2727
export NODE_MAJOR=20
2828
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list
2929
sudo apt update && sudo apt install -y nodejs
30-
npm install -g jsfuzz
31-
npm install --save-dev @jazzer.js/core
30+
sudo npm install -g jsfuzz
31+
sudo npm install --save-dev @jazzer.js/core
3232
curl https://sh.rustup.rs -o rustup.sh && chmod +x rustup.sh && \
3333
./rustup.sh -y && rm rustup.sh
3434
rustup install nightly

.github/workflows/coverage.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ jobs:
2525
export NODE_MAJOR=20
2626
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list
2727
sudo apt update && sudo apt install -y nodejs
28-
npm install -g jsfuzz
29-
npm install --save-dev @jazzer.js/core
28+
sudo npm install -g jsfuzz
29+
sudo npm install --save-dev @jazzer.js/core
3030
curl https://sh.rustup.rs -o rustup.sh && chmod +x rustup.sh && \
3131
./rustup.sh -y && rm rustup.sh
3232
rustup install nightly

casr/tests/casr_tests/js/binding.gyp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"targets": [
33
{
4-
"cflags": [ "-fexceptions -fsanitize=address,fuzzer-no-link -O0 -g -fPIC -I/usr/lib/llvm-10/lib/clang/10.0.0/lib/linux/ -lclang_rt.fuzzer-x86_64" ],
5-
"cflags_cc": [ "-fexceptions -fsanitize=address,fuzzer-no-link -O0 -g -fPIC -I/usr/lib/llvm-10/lib/clang/10.0.0/lib/linux/ -lclang_rt.fuzzer-x86_64" ],
4+
"cflags": [ "-fexceptions -fsanitize=address,fuzzer-no-link -O0 -g -fPIC" ],
5+
"cflags_cc": [ "-fexceptions -fsanitize=address,fuzzer-no-link -O0 -g -fPIC" ],
66
"include_dirs" : ["<!@(node -p \"require('node-addon-api').include\")"],
77
"target_name": "native",
88
"sources": [ "native.cpp" ],

0 commit comments

Comments
 (0)