diff options
Diffstat (limited to 'scripts/build/tests')
| -rw-r--r-- | scripts/build/tests/host_library.cc | 8 | ||||
| -rw-r--r-- | scripts/build/tests/host_test.cc | 7 | ||||
| -rw-r--r-- | scripts/build/tests/phys_library.cc | 5 |
3 files changed, 20 insertions, 0 deletions
diff --git a/scripts/build/tests/host_library.cc b/scripts/build/tests/host_library.cc new file mode 100644 index 0000000..c545815 --- /dev/null +++ b/scripts/build/tests/host_library.cc @@ -0,0 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-or-later + +namespace lume::build::test { + +int HostLibrarySmokeTestSymbol() { return 0; } + +} // namespace lume::build::test + diff --git a/scripts/build/tests/host_test.cc b/scripts/build/tests/host_test.cc new file mode 100644 index 0000000..6b13417 --- /dev/null +++ b/scripts/build/tests/host_test.cc @@ -0,0 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-or-later + +namespace lume::build::test { +int HostLibrarySmokeTestSymbol(); +} + +int main() { return lume::build::test::HostLibrarySmokeTestSymbol(); } diff --git a/scripts/build/tests/phys_library.cc b/scripts/build/tests/phys_library.cc new file mode 100644 index 0000000..2cf1596 --- /dev/null +++ b/scripts/build/tests/phys_library.cc @@ -0,0 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-or-later + +extern "C" unsigned long LumePhysBuildSmoke(unsigned long value) { + return value ^ 0x4c554d45UL; +} |
