From: Jérémie Astor Date: Sun, 16 May 2021 23:51:24 +0000 (+0200) Subject: :wrench: Small Improvements X-Git-Tag: nightly~639 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=68ca97eb093754a6f7166e207de0858df1a2338c;p=gwion.git :wrench: Small Improvements --- 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__ >>>;