Skip to content

Commit d333b27

Browse files
committed
test: add more items to test
1 parent 567d0e2 commit d333b27

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

tests/test_recipe_parser.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1611,7 +1611,10 @@ def test_recipe_parses_strings_colons_quotes():
16111611

16121612
@pytest.mark.parametrize("recipe", os.listdir(YAML_PATH))
16131613
def test_recipe_parser_yaml_suite(recipe):
1614-
if recipe.endswith("_correct.yaml") and "duplicate_lines_cleanup" not in recipe:
1614+
if (
1615+
recipe.endswith("_correct.yaml")
1616+
and "duplicate_lines_cleanup" not in recipe
1617+
) or recipe.endswith("_after_meta.yaml"):
16151618
with open(os.path.join(YAML_PATH, recipe)) as f:
16161619
recipe = f.read()
16171620
cm = CondaMetaYAML(recipe)

tests/test_yaml/stdlib_libhdbpp-timescale_after_meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ outputs: # [linux]
5858
# different versions per cpptango
5959
- cpptango # [linux]
6060
run: # [linux]
61-
- "{{ pin_subpackage('libhdbpp-timescale', exact=True) }}" # [linux]
61+
- {{ pin_subpackage('libhdbpp-timescale', exact=True) }} # [linux]
6262
files: # [linux]
6363
- "lib/libhdb++timescale.so.{{ version }}.dbg" # [linux]
6464
test: # [linux]

tests/test_yaml/stdlib_mgis_after_meta.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ build:
2323

2424
requirements:
2525
build:
26-
- "{{ compiler('c') }}"
26+
- {{ compiler('c') }}
2727
- {{ stdlib("c") }}
28-
- "{{ compiler('cxx') }}"
29-
- "{{ compiler('fortran') }}" # [not win]
28+
- {{ compiler('cxx') }}
29+
- {{ compiler('fortran') }} # [not win]
3030
- cmake >=3.26.4
3131
- ninja # [win]
3232
- autoconf # [not win]

0 commit comments

Comments
 (0)