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

build-test not documented #170

Open
callendorph opened this issue Oct 20, 2022 · 1 comment
Open

build-test not documented #170

callendorph opened this issue Oct 20, 2022 · 1 comment

Comments

@callendorph
Copy link

In ocdb, there is a build-test used:

https://github.com/JITx-Inc/open-components-database/blob/faa8696e0c5f2e88eab66d8bb23b25ac7fe7e4fd/stanza.proj#L36

There is no mention of this build-test option here:

https://github.com/StanzaOrg/lbstanza/blob/master/docs/build-system.md

From looking through the code here:
https://github.com/StanzaOrg/lbstanza/blob/20a07866a1b5cdb6f25111fd690c2afb7caf38d7/compiler/proj.stanza#L305

I don't know where TestTarget ever gets used.

Can you help explain what the difference between build and build-test are ?

@CuppoJava
Copy link
Collaborator

Thanks for the reply. We need to update our docs.

The build-test option just compiles all of your inputs together with the Stanza testing framework so build a test executable. The normal build target uses stanza compile underneath the hood to build the executable. The build-test target uses stanza compile-test underneath the hood to build the executable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants