Skip to content

Commit

Permalink
2.0.2 - Fix issue in clang tests
Browse files Browse the repository at this point in the history
Also ensures clang tests run.
  • Loading branch information
vkottler committed Sep 25, 2023
1 parent 7d79d39 commit eadba29
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion config
4 changes: 2 additions & 2 deletions ifgen/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# =====================================
# generator=datazen
# version=3.1.3
# hash=162de9b7f3d4eadb62b139927b597c84
# hash=be8972c9da47d9e53cfdf1a5bafa7b92
# =====================================

"""
Expand All @@ -10,4 +10,4 @@

DESCRIPTION = "An interface generator for distributed computing."
PKG_NAME = "ifgen"
VERSION = "2.0.1"
VERSION = "2.0.2"
2 changes: 1 addition & 1 deletion ifgen/struct/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down
2 changes: 1 addition & 1 deletion local/variables/package.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
major: 2
minor: 0
patch: 1
patch: 2
entry: ig
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
5 changes: 3 additions & 2 deletions tests/commands/test_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit eadba29

Please sign in to comment.