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

Investigate inline scripting in a different language #56

Open
rweickelt opened this issue Oct 26, 2018 · 0 comments
Open

Investigate inline scripting in a different language #56

rweickelt opened this issue Oct 26, 2018 · 0 comments
Labels

Comments

@rweickelt
Copy link
Owner

Maybe possible with QQmlCustomParser.

Testcase {
    name: "some-script"

    InlineScriptProbe {
        id: script
        interpreter: "/path/to/bash"
        
        environment: {
            SOME_TEXT: "Hello World"
        }

        script: {
            echo ${SOME_TEXT}
        }
    }

    run: {
        script.start()
        script.waitForFinished(1701)
        Qst.compare(script.exitCode, 47)
    }
}

InlineScriptTestcase {
    interpreter: "/path/to/bash"

    environment: {
        SOME_TEXT: "Hello World"
    }

    script: {
        echo ${SOME_TEXT}
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant