Skip to content

Commit f01f9cb

Browse files
committed
add CI test
1 parent 01872bd commit f01f9cb

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

ci/run_tests.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,5 +344,19 @@ pushd static_app_only
344344
test $EXIT_CODE -eq 0
345345
popd
346346

347+
# Test custom module directory
348+
pushd custom_module_dir
349+
"$fpm" build
350+
rm -rf ./test_custom_install
351+
"$fpm" install --prefix ./test_custom_install
352+
# Verify modules are installed in custom directory
353+
test -f ./test_custom_install/custom/modules/greeting.mod
354+
test -f ./test_custom_install/custom/modules/math_utils.mod
355+
# Verify library is still installed normally
356+
test -f ./test_custom_install/lib/libcustom-module-dir.a
357+
# Clean up
358+
rm -rf ./test_custom_install
359+
popd
360+
347361
# Cleanup
348362
rm -rf ./*/build

0 commit comments

Comments
 (0)