Test now runs generated code, swtiched math test to use polyorphism from cpp.

Now need to make that array test...
This commit is contained in:
2023-04-02 12:25:08 -04:00
parent 5e26d53a12
commit 340f466f24
7 changed files with 39 additions and 41 deletions

View File

@ -98,23 +98,29 @@ Pop-Location
# Build the program depending on generated files.
# if ( -not( Test-Path $path_test_build ) )
# {
# $args_meson = @()
# $args_meson += "setup"
# $args_meson += $path_test_build
if ( -not( Test-Path $path_test_build ) )
{
$args_meson = @()
$args_meson += "setup"
$args_meson += $path_test_build
# Push-Location $path_test
# & meson $args_meson
# Pop-Location
# }
Push-Location $path_test
& meson $args_meson
Pop-Location
}
# $args_ninja = @()
# $args_ninja += "-C"
# $args_ninja += $path_test_build
$args_ninja = @()
$args_ninja += "-C"
$args_ninja += $path_test_build
# Push-Location $path_root
# ninja $args_ninja
# Pop-Location
#endregion Test Build
Push-Location $path_root
ninja $args_ninja
Pop-Location
$testcpp = Join-Path $path_test_build testcpp.exe
Push-Location $path_test
& $testcpp
Pop-Location
# endregion Test Build
# }