Problems with MODULE
See original GitHub issueIf the MODULE
env variable is not set cocotb fails hard by raising (an ImportError
of all things…) in the startup routine. It seems to me it should just run and exit with no failure because there are no tests to run.
MODULE
might also accidentally contain trailing or leading separators, this isn’t handled, and tests show it fails in an ugly way. HOOKS
, whose usefulness is debatable, suffers the same problem.
Issue Analytics
- State:
- Created 3 years ago
- Comments:18 (18 by maintainers)
Top Results From Across the Web
Module equations. Modules - math10.com – Math
Problem 1 Solve the equation: A) |x| = 5. B) |3x + 4| = 7. C) |1 / 3x + 4| = 0....
Read more >The Problem With Modular Learning And 3 Easy Ways To Fix It
This article provides 3 ways to fix the problem with learning modules and create reusable, multipurpose lessons that will provide more bang ...
Read more >14 Challenges of Modular Learning to Students and Teachers
1. Inability to submit on time · 2. Difficulty in reading and comprehension · 3. Personal Teenage Problems · 4. Poor Wi-Fi Connections...
Read more >Module Theory | Problems in Mathematics
A Module M is Irreducible if and only if M is isomorphic to R/I for a Maximal Ideal I. · Problem 449 ·...
Read more >Disadvantages of modular learning - Helpline PH
1. NOT ALL STUDENTS DO THEIR MODULES WHOLEHEARTEDLY · 2. SOME PARENTS SPOIL THEIR CHILDREN AND DO THE DEED INSTEAD OF THEIR CHILDREN...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
To be clear, my claim above is that today,
MODULE="file_with_no_tests"
passes with no warnings and emits an empty results.xml.I think the thing to do is:
results.xml
as normal (which we already do?), print a warning (which we currently don’t).I don’t agree, if it’s not set I then I think we should fail. The behavior you describe seems appropriate if it’s deliberately set to an empty string though.