Test failure fudging subdir in `master`
See original GitHub issueAppears we are running into a test failure in master
as evidenced by build. Would be great if we could sort it out.
======================================================================
ERROR: test_metadata_reading (conda_smithy.tests.test_configure_feedstock.Test_fudge_subdir)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/travis/build/conda-forge/conda-smithy/conda_smithy/tests/test_configure_feedstock.py", line 31, in test_metadata_reading
meta.parse_again()
File "/home/travis/conda/lib/python2.7/site-packages/conda_build/metadata.py", line 387, in parse_again
self.meta = parse(self._get_contents(permit_undefined_jinja), path=self.meta_path)
File "/home/travis/conda/lib/python2.7/site-packages/conda_build/metadata.py", line 689, in _get_contents
env.globals.update(context_processor(self, path))
File "/home/travis/conda/lib/python2.7/site-packages/conda_build/jinja_context.py", line 157, in context_processor
ctx = get_environ(m=initial_metadata)
File "/home/travis/conda/lib/python2.7/site-packages/conda_build/environ.py", line 174, in get_dict
d.update(meta_vars(m))
File "/home/travis/conda/lib/python2.7/site-packages/conda_build/environ.py", line 274, in meta_vars
d['PKG_NAME'] = meta.name()
File "/home/travis/conda/lib/python2.7/site-packages/conda_build/metadata.py", line 453, in name
sys.exit('Error: package/name missing in: %r' % self.meta_path)
SystemExit: Error: package/name missing in: '/tmp/tmpp_ZDSdrecipe_/meta.yaml'
----------------------------------------------------------------------
Ran 19 tests in 2.768s
FAILED (errors=1)
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Execute all tests in subdirs even if some fail - Stack Overflow
We have found that once one of the subdirectories fails in any test, the subsequent tests in forthcoming subdirectories are not executed and ......
Read more >Failing when tests in subfolders - Laracasts
Failing when tests in subfolders. Hello guys,. I have this simple test NewsletterTest.php : Copy Code <?php namespace Tests\Acceptance; use Tests\TestCase; ...
Read more >ini configuration are not found in subdirectories when ... - GitHub
When a pytest.ini exists in a subdirectory (i.e. subdir/pytest.ini), it gets picked parsed and used when invoking pytest with pytest subdir ...
Read more >run unit tests in subfolder containing the test files - MathWorks
Hello, I have a bunch of test files in a folder and another file that I indicate the runtest command in (the file...
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 Free
Top 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
Woops. That was an easy one 😄 - it is just because the name isn’t defined on a Linux system…
Ah, I see. Yes, that is unusual. I don’t have a good mental model for why that would be the case… presumably the multi-parse pass needs the name to be defined from the get-go. 😕