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

dip: add a -test flag #88

Open
crazymonkyyy opened this issue Dec 24, 2024 · 3 comments
Open

dip: add a -test flag #88

crazymonkyyy opened this issue Dec 24, 2024 · 3 comments

Comments

@crazymonkyyy
Copy link
Contributor

Im using these flags all the time -main -unittest -run, assuming that it be bad to break the "make executable" and "-run" defaults so you cant just make my compile the hard defualt, a single flag that just combines my usual compile would be nice

@adamdruppe
Copy link
Contributor

opend test -run yourprogram.d should do it but maybe i should make -run one of the automatic ones too

@crazymonkyyy
Copy link
Contributor Author

im not convinced its working

~/src/sreachtest(4)opend -main -unittest -run sreach.d
sreach.d(1): Deprecation: from file datastructures.d should be imported with 'import odc.datastructures;'
sreach.d(24): [unittest] unittest failure
1/2 modules FAILED unittests
(1)~/src/sreachtest(4)opend test -run sreach.d           
(1)~/src/sreachtest(4)

@adamdruppe
Copy link
Contributor

huh maybe i did it wrong looks like the -run did nothing at least ill look later

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