summaryrefslogtreecommitdiff
path: root/tests/projects/other/native_module/modules/binary/bar
diff options
context:
space:
mode:
authorruki <[email protected]>2024-07-25 00:54:13 +0800
committerruki <[email protected]>2024-07-25 00:54:13 +0800
commitc7c412f6458f5aceeb02e9bfc292dc7aac0852d3 (patch)
tree90fc1076e7dd5a2971d7033bee28825a80e59477 /tests/projects/other/native_module/modules/binary/bar
parent039cd576af844dc146b7517160648765b90b81b1 (diff)
move autogen tests
Diffstat (limited to 'tests/projects/other/native_module/modules/binary/bar')
-rw-r--r--tests/projects/other/native_module/modules/binary/bar/.gitignore8
-rw-r--r--tests/projects/other/native_module/modules/binary/bar/src/add.cpp9
-rw-r--r--tests/projects/other/native_module/modules/binary/bar/src/sub.cpp10
-rw-r--r--tests/projects/other/native_module/modules/binary/bar/xmake.lua10
4 files changed, 0 insertions, 37 deletions
diff --git a/tests/projects/other/native_module/modules/binary/bar/.gitignore b/tests/projects/other/native_module/modules/binary/bar/.gitignore
deleted file mode 100644
index 152105761..000000000
--- a/tests/projects/other/native_module/modules/binary/bar/.gitignore
+++ /dev/null
@@ -1,8 +0,0 @@
-# Xmake cache
-.xmake/
-build/
-
-# MacOS Cache
-.DS_Store
-
-
diff --git a/tests/projects/other/native_module/modules/binary/bar/src/add.cpp b/tests/projects/other/native_module/modules/binary/bar/src/add.cpp
deleted file mode 100644
index e19d07e12..000000000
--- a/tests/projects/other/native_module/modules/binary/bar/src/add.cpp
+++ /dev/null
@@ -1,9 +0,0 @@
-#include <stdio.h>
-#include <stdlib.h>
-
-int main(int argc, char** argv) {
- int a = atoi(argv[1]);
- int b = atoi(argv[2]);
- printf("%d", a + b);
- return 0;
-}
diff --git a/tests/projects/other/native_module/modules/binary/bar/src/sub.cpp b/tests/projects/other/native_module/modules/binary/bar/src/sub.cpp
deleted file mode 100644
index 980289d1a..000000000
--- a/tests/projects/other/native_module/modules/binary/bar/src/sub.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
-#include <stdio.h>
-#include <stdlib.h>
-
-int main(int argc, char** argv) {
- int a = atoi(argv[1]);
- int b = atoi(argv[2]);
- printf("%d", a - b);
- return 0;
-}
-
diff --git a/tests/projects/other/native_module/modules/binary/bar/xmake.lua b/tests/projects/other/native_module/modules/binary/bar/xmake.lua
deleted file mode 100644
index add3c6e97..000000000
--- a/tests/projects/other/native_module/modules/binary/bar/xmake.lua
+++ /dev/null
@@ -1,10 +0,0 @@
-add_rules("mode.debug", "mode.release")
-
-target("add")
- add_rules("module.binary")
- add_files("src/add.cpp")
-
-target("sub")
- add_rules("module.binary")
- add_files("src/sub.cpp")
-