diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 544d377..0850bab 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -75,7 +75,7 @@ jobs: - run: | mk python-release owner=vkottler \ - repo=ifgen version=2.0.1 + repo=ifgen version=2.0.2 if: | matrix.python-version == '3.11' && matrix.system == 'ubuntu-latest' diff --git a/README.md b/README.md index 590f3d3..7561c25 100644 --- a/README.md +++ b/README.md @@ -2,11 +2,11 @@ ===================================== generator=datazen version=3.1.3 - hash=8eda369df8b8cef9a9b9f50fc00ef2ae + hash=9095936335c272153d56daf54bcccb38 ===================================== --> -# ifgen ([2.0.1](https://pypi.org/project/ifgen/)) +# ifgen ([2.0.2](https://pypi.org/project/ifgen/)) [![python](https://img.shields.io/pypi/pyversions/ifgen.svg)](https://pypi.org/project/ifgen/) ![Build Status](https://github.com/vkottler/ifgen/workflows/Python%20Package/badge.svg) diff --git a/config b/config index e575ffe..ffa62b7 160000 --- a/config +++ b/config @@ -1 +1 @@ -Subproject commit e575ffef31a4a26732d60891ae83d9209666c840 +Subproject commit ffa62b72c384eeda3fc20a8e1401e36f20569dea diff --git a/ifgen/__init__.py b/ifgen/__init__.py index 2d98f23..5b86293 100644 --- a/ifgen/__init__.py +++ b/ifgen/__init__.py @@ -1,7 +1,7 @@ # ===================================== # generator=datazen # version=3.1.3 -# hash=162de9b7f3d4eadb62b139927b597c84 +# hash=be8972c9da47d9e53cfdf1a5bafa7b92 # ===================================== """ @@ -10,4 +10,4 @@ DESCRIPTION = "An interface generator for distributed computing." PKG_NAME = "ifgen" -VERSION = "2.0.1" +VERSION = "2.0.2" diff --git a/ifgen/struct/test.py b/ifgen/struct/test.py index 73ba834..7b8437d 100644 --- a/ifgen/struct/test.py +++ b/ifgen/struct/test.py @@ -52,7 +52,7 @@ def unit_test_basic_method( writer.empty() nspaced = task.name - writer.write(f"{nspaced} src;") + writer.write(f"{nspaced} src = {'{}'};") assert_line(writer, f"src.span().size() == {nspaced}::size") with writer.padding(): diff --git a/local/variables/package.yaml b/local/variables/package.yaml index 0063908..bee9f20 100644 --- a/local/variables/package.yaml +++ b/local/variables/package.yaml @@ -1,5 +1,5 @@ --- major: 2 minor: 0 -patch: 1 +patch: 2 entry: ig diff --git a/pyproject.toml b/pyproject.toml index f6ebfee..411d0a2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta:__legacy__" [project] name = "ifgen" -version = "2.0.1" +version = "2.0.2" description = "An interface generator for distributed computing." readme = "README.md" requires-python = ">=3.11" diff --git a/tests/commands/test_gen.py b/tests/commands/test_gen.py index 4ff555d..7fa0b7b 100644 --- a/tests/commands/test_gen.py +++ b/tests/commands/test_gen.py @@ -38,5 +38,6 @@ def test_ifgen_command_basic(): ).data tests = data["tests"] for name, data in data["all"].items(): - if name in tests: - run([data["variants"]["debug"]], check=True) + for variant in ["debug", "clang"]: + if name in tests: + run([data["variants"][variant]], check=True)