aboutsummaryrefslogtreecommitdiff
path: root/tests/priv_hello
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-08-18 00:07:56 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2024-08-18 00:07:56 +0300
commit33fcf676128426f2ac9a4730d63fa481bb351518 (patch)
treefb8553e58fb3553e1b1da334b5a4d54e254f2340 /tests/priv_hello
parent0d4e9292d85a169f881926556992d4ae12dcb6f4 (diff)
downloadek-33fcf676128426f2ac9a4730d63fa481bb351518.tar.gz
ek-33fcf676128426f2ac9a4730d63fa481bb351518.zip
make check works again
Diffstat (limited to 'tests/priv_hello')
-rw-r--r--tests/priv_hello/check.mk1
-rw-r--r--tests/priv_hello/import/priv_hello.ek1
-rw-r--r--tests/priv_hello/priv_hello.ek7
-rw-r--r--tests/priv_hello/source.mk1
4 files changed, 10 insertions, 0 deletions
diff --git a/tests/priv_hello/check.mk b/tests/priv_hello/check.mk
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/tests/priv_hello/check.mk
@@ -0,0 +1 @@
+
diff --git a/tests/priv_hello/import/priv_hello.ek b/tests/priv_hello/import/priv_hello.ek
new file mode 100644
index 0000000..970efcd
--- /dev/null
+++ b/tests/priv_hello/import/priv_hello.ek
@@ -0,0 +1 @@
+hello(){}
diff --git a/tests/priv_hello/priv_hello.ek b/tests/priv_hello/priv_hello.ek
new file mode 100644
index 0000000..fe6fa86
--- /dev/null
+++ b/tests/priv_hello/priv_hello.ek
@@ -0,0 +1,7 @@
+import "import/priv_hello.ek"
+
+main()
+{
+ /* expect this to fail */
+ hello();
+}
diff --git a/tests/priv_hello/source.mk b/tests/priv_hello/source.mk
new file mode 100644
index 0000000..b2160b2
--- /dev/null
+++ b/tests/priv_hello/source.mk
@@ -0,0 +1 @@
+SIMPLE_XFAIL += priv_hello,'no such symbol'