From 68ca97eb093754a6f7166e207de0858df1a2338c Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Mon, 17 May 2021 01:51:24 +0200 Subject: [PATCH] :wrench: Small Improvements --- Makefile | 3 +-- tests/refine/refined_fail.gw | 1 + tests/refine/refined_invalid_type.gw | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 42d7f345..90fcd1c1 100644 --- a/Makefile +++ b/Makefile @@ -20,12 +20,11 @@ test_ignore = tests/plug test/driver tests/module test_dir := $(filter-out $(test_ignore), $(test_dir_all)) test_dir += examples - CFLAGS += -Iutil/include -Iast/include -Ilibcmdapp/src -D_GNU_SOURCE CFLAGS += -Iast/libprettyerr/src -Ifmt/include # add commit hash to version for now -CFLAGS += -DGWION_VERSION=\"$(shell git log -n1 --format="%h")\" +CFLAGS += -DGWION_VERSION="\"$(shell git log -n1 --format="%h%m%cs")\"" ifeq (${DEBUG_STACK}, 1) CFLAGS += -DDEBUG_STACK diff --git a/tests/refine/refined_fail.gw b/tests/refine/refined_fail.gw index 21953427..ce31edc3 100644 --- a/tests/refine/refined_fail.gw +++ b/tests/refine/refined_fail.gw @@ -1,3 +1,4 @@ +#! [contains] Unhandled PredicateFail typedef int MoreThan10 when self > 10; diff --git a/tests/refine/refined_invalid_type.gw b/tests/refine/refined_invalid_type.gw index 5e9954f3..f0e8e131 100644 --- a/tests/refine/refined_invalid_type.gw +++ b/tests/refine/refined_invalid_type.gw @@ -1,3 +1,4 @@ +#! [contains] Invalid `when` predicate typedef int MoreThan10 when <<< __func__ >>>; -- 2.43.0