Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • diffoscope diffoscope
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 145
    • Issues 145
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Reproducible BuildsReproducible Builds
  • diffoscopediffoscope
  • Issues
  • #42
Closed
Open
Issue created Jan 13, 2019 by Jelle van der Waa@jelleOwner

new wasm tests fail

When running the tests with wabt 1.0.6-1 on Arch Linux I receive the following error when running the wasm tests:

differences = []

    @skip_unless_tools_exist('wasm2wat')
    def test_diff(differences):
        expected_diff = get_data('wasm_expected_diff')
        print(differences)
>       actual_diff = differences[0].unified_diff
E       IndexError: list index out of range

comparators/test_wasm.py:54: IndexError

I suspect that diffoscope runs wasm2wat on hello2.wasm which returns the following error:

wasm2wat --no-check data/hello2.wasm

hello2.wasm is also recognised as a text file:

[jelle@natrium][~/projects/diffoscope]%file tests/data/hello1.wasm 
tests/data/hello1.wasm: WebAssembly (wasm) binary module version 0x1 (MVP)
Edited Jan 13, 2019 by Jelle van der Waa
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking