Implement multiplication

This commit is contained in:
2024-03-03 13:11:39 +01:00
parent 223f54d38d
commit 632dc53b53
25 changed files with 343 additions and 1989 deletions

View File

@ -0,0 +1 @@
10

1
tests/multiply.eln Normal file
View File

@ -0,0 +1 @@
! 5 * 2

View File

@ -35,9 +35,14 @@ namespace elna
}
}
static std::filesystem::path in_build_directory()
{
return "build/riscv";
}
static std::string in_build_directory(const std::filesystem::path& path)
{
return "build/riscv" / path;
return in_build_directory() / path;
}
static int build_test(const std::filesystem::directory_entry& test_entry)
@ -136,7 +141,7 @@ namespace elna
int main()
{
boost::process::system("rake");
std::filesystem::create_directory(elna::in_build_directory());
std::cout << "Run all tests and check the results" << std::endl;
std::filesystem::path test_directory{ "tests" };