From 504998b7270844e180fdb98e770394cbc38ea89d Mon Sep 17 00:00:00 2001 From: jakeg00dwin Date: Sat, 16 Mar 2024 13:47:37 -0700 Subject: [PATCH] edited to target the cpp test --- otto.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/otto.sh b/otto.sh index 1dd70ad..0a7a4a5 100755 --- a/otto.sh +++ b/otto.sh @@ -116,7 +116,7 @@ add_new_module () { sed "s/module_name/${modname}/" $MODULE_DIR/CMakeLists.txt > $modsrc_dir/CMakeLists.txt - sed "s/module_name/${modname}/" $MODULE_DIR/test_module_name.c > $modtest_dir/test_${modname}.c + sed "s/module_name/${modname}/" $MODULE_DIR/test_module_name.cpp > $modtest_dir/test_${modname}.cpp sed "s/module_name/${modname}/" $MODULE_DIR/TestCMakeLists.txt > $modtest_dir/CMakeLists.txt # Add the module to the cmake lists files.