Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(gnovm): migrate 'gno build' test to testscript #1103

Merged
merged 1 commit into from
Oct 12, 2023

Commits on Sep 6, 2023

  1. test(gnovm): migrate 'gno build' test to testscript

    Like done for 'gno test', use testscript and txtar files to define the
    different test cases.
    
    The previous test was only testing `gno build` without arguments and
    files, so this PR adds more cases.
    
    Interestingly, the gno files are only used to determine the directories
    where the 'go build' command will be passed. This means only go file
    syntax is checked (gno file syntax is ignored, as pictured in
    `invalid_gno_files.txtar' case). Also a `go.mod` is required or else the
    command fails.
    tbruyelle committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    23bf072 View commit details
    Browse the repository at this point in the history