From 03c9efc756568ce9c74fdb9dc9df216975e5cd69 Mon Sep 17 00:00:00 2001 From: Brad Richardson Date: Thu, 22 Oct 2020 16:43:58 -0500 Subject: Add test with submodule example project and fix .smod naming convention --- bootstrap/unit_test/SubmoduleToCompileInfoTest.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bootstrap/unit_test') diff --git a/bootstrap/unit_test/SubmoduleToCompileInfoTest.hs b/bootstrap/unit_test/SubmoduleToCompileInfoTest.hs index 4b3f474..d5d3ad8 100644 --- a/bootstrap/unit_test/SubmoduleToCompileInfoTest.hs +++ b/bootstrap/unit_test/SubmoduleToCompileInfoTest.hs @@ -37,6 +37,7 @@ exampleSubmodule = Submodule { submoduleSourceFileName = submoduleSourceFileName' , submoduleObjectFileName = \bd -> bd "some_file_somewhere.f90.o" , submoduleModulesUsed = ["module1", "module2", "module3"] + , submoduleBaseModuleName = "base_module" , submoduleParentName = "base_module@parent" , submoduleName = "some_submodule" } @@ -62,7 +63,7 @@ checkObjectFileName cti = assertEquals checkOtherFilesProduced :: CompileTimeInfo -> Result checkOtherFilesProduced cti = assertEquals - ["build_dir" "base_module@parent@some_submodule.smod"] + ["build_dir" "base_module@some_submodule.smod"] (compileTimeInfoOtherFilesProduced cti) checkDirectDependencies :: CompileTimeInfo -> Result -- cgit v1.2.3