Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ofzo committed Dec 1, 2023
1 parent 0c742f9 commit 617c9e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 22 deletions.
23 changes: 2 additions & 21 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ env:

jobs:

test-linux:

test:
runs-on: ubuntu-latest

steps:
Expand All @@ -29,25 +28,7 @@ jobs:
- name: Generate tests
run: bash ./update.test.sh
- name: Run tests
run: cargo test --verbose

# test-macos:

# runs-on: macos-latest

# steps:
# - uses: actions/checkout@v2
# with:
# submodules: "recursive"
# - name: Install cmake
# run: brew install -y cmake
# - name: Build wabt
# run: cd wabt && mkdir build && cd build && cmake .. && cmake --build .
# - name: Generate tests
# run: bash ./update.test.sh
# - name: Run tests
# run: cargo test --verbose

run: cargo test --package oxygen --test wasm --verbose

build:

Expand Down
2 changes: 1 addition & 1 deletion update.test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ fn test_$name() {
let url = Path::new(\"./testsuite/valid/$1\");
let root = env::current_dir().unwrap();
let root = root.parent().unwrap().parent().unwrap();
// let root = root.parent().unwrap().parent().unwrap();
let url = root.join(url);
let url = url.canonicalize().unwrap();
let buf = read(url).unwrap();
Expand Down

0 comments on commit 617c9e2

Please sign in to comment.