diff --git a/test/src/libc-test/functional/pthread_cond.c b/test/src/libc-test/functional/pthread_cond.c new file mode 100644 index 00000000..a9178950 --- /dev/null +++ b/test/src/libc-test/functional/pthread_cond.c @@ -0,0 +1,5 @@ +//! filter.py(TARGET_TRIPLE): wasm32-wasip1-threads +//! add-flags.py(CFLAGS): -I. +//! add-flags.py(LDFLAGS): -Wl,--import-memory,--export-memory,--shared-memory,--max-memory=1073741824 +//! add-flags.py(RUN): --wasi threads +#include "build/download/libc-test/src/functional/pthread_cond.c" diff --git a/test/src/libc-test/functional/pthread_mutex.c b/test/src/libc-test/functional/pthread_mutex.c new file mode 100644 index 00000000..552e7e06 --- /dev/null +++ b/test/src/libc-test/functional/pthread_mutex.c @@ -0,0 +1,5 @@ +//! filter.py(TARGET_TRIPLE): wasm32-wasip1-threads +//! add-flags.py(CFLAGS): -I. +//! add-flags.py(LDFLAGS): -Wl,--import-memory,--export-memory,--shared-memory,--max-memory=1073741824 +//! add-flags.py(RUN): --wasi threads +#include "build/download/libc-test/src/functional/pthread_mutex.c" diff --git a/test/src/libc-test/functional/pthread_tsd.c b/test/src/libc-test/functional/pthread_tsd.c new file mode 100644 index 00000000..2845516c --- /dev/null +++ b/test/src/libc-test/functional/pthread_tsd.c @@ -0,0 +1,5 @@ +//! filter.py(TARGET_TRIPLE): wasm32-wasip1-threads +//! add-flags.py(CFLAGS): -I. +//! add-flags.py(LDFLAGS): -Wl,--import-memory,--export-memory,--shared-memory,--max-memory=1073741824 +//! add-flags.py(RUN): --wasi threads +#include "build/download/libc-test/src/functional/pthread_tsd.c"