From d70d88c34d84e91e0f8e795929b23dba60154b88 Mon Sep 17 00:00:00 2001 From: zapashcanon Date: Fri, 26 Jan 2024 17:57:51 +0100 Subject: [PATCH] move malloc_aligned test to the right place --- test/c/dune | 5 ++++- test/{owic/stdlib => c}/malloc_aligned.c | 0 test/c/malloc_aligned.t | 2 ++ test/owic/stdlib/dune | 8 -------- 4 files changed, 6 insertions(+), 9 deletions(-) rename test/{owic/stdlib => c}/malloc_aligned.c (100%) create mode 100644 test/c/malloc_aligned.t delete mode 100644 test/owic/stdlib/dune diff --git a/test/c/dune b/test/c/dune index c094dd852..b290d0d61 100644 --- a/test/c/dune +++ b/test/c/dune @@ -1,2 +1,5 @@ (cram - (deps %{bin:owi})) + (deps + %{bin:owi} + (package owi) + malloc_aligned.c)) diff --git a/test/owic/stdlib/malloc_aligned.c b/test/c/malloc_aligned.c similarity index 100% rename from test/owic/stdlib/malloc_aligned.c rename to test/c/malloc_aligned.c diff --git a/test/c/malloc_aligned.t b/test/c/malloc_aligned.t new file mode 100644 index 000000000..9dab798a5 --- /dev/null +++ b/test/c/malloc_aligned.t @@ -0,0 +1,2 @@ + $ dune exec owi -- c ./malloc_aligned.c + All OK diff --git a/test/owic/stdlib/dune b/test/owic/stdlib/dune deleted file mode 100644 index 38872ebdb..000000000 --- a/test/owic/stdlib/dune +++ /dev/null @@ -1,8 +0,0 @@ -(rule - (alias runtest) - (deps - malloc_aligned.c - %{bin:owi} - (package owi)) - (action - (run dune exec owi -- c ./malloc_aligned.c)))