Closed mikebentley15 closed 4 years ago
I think this is a good first issue for John to take. It involves
tests/flit_cli/flit_init/
scripts/flitcli/flit_init.py
until the created test passesI would be happy to work with John or review his work. Whatever works for John.
Affirmative. I will work on this, and will reach out if I have any questions.
Thanks!
John
On Tue, Jan 21, 2020, 12:01 Michael Bentley notifications@github.com wrote:
I think this is a good first issue for John to take. It involves
- Creating a test that fails until the new functionality is implemented in tests/flit_cli/flit_init/
- Implement the change in scripts/flitcli/flit_init.py until the created test passes
- Make sure all other tests continue to pass
- Checking documentation to see if it needs updating
I would be happy to work with John or review his work. Whatever works for John.
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/PRUNERS/FLiT/issues/316?email_source=notifications&email_token=AOKR56SMII5BX24W5LFI653Q65BA7A5CNFSM4KJYM4VKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJQ3SFA#issuecomment-576829716, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOKR56R6QOJE7Z2ZU7L2DXDQ65BA7ANCNFSM4KJYM4VA .
Bug Report
Describe the problem When the user calls
flit init --litmus-tests
, they are likely wanting to just run the litmus tests, or use them as an example for writing their own tests.In the first case, the user will not want the
Empty.cpp
test case in their list of tests since that is misleading, even if the test case is disabled when generating output.In the second case, the user may or may not want
Empty.cpp
as a basis for creating their own test. I would say it is sufficient for them to look at the litmus tests as examples for how to write their own tests andEmpty.cpp
is unnecessary.Suggested Fix If the
--litmus-tests
option is used forflit init
, then do not includeEmpty.cpp
in the list of files to copy over.I am not sure if documentation needs to be updated anywhere. I do not know if this functionality is currently documented.