feat: complete Track A zero-CMake self-hosting, full VOID_TEST migration, and bit-identical Stage 2/3 bootstrap
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 2s
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 2s
This commit is contained in:
1 parent
fe0d1a6483
commit
5e1916dc5c
23 files changed
+945
-141
No files matched your search
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
Void::Testing::Test example_uses_runtime_compiler() {
|
||||
VOID_TEST(ExampleContexts, example_uses_runtime_compiler) {
|
||||
Void::Build::Profiles definitions;
|
||||
profiles(definitions);
|
||||
Void::Build::Project gcc{
|
||||
@@ -29,7 +29,7 @@ Void::Testing::Test example_uses_runtime_compiler() {
|
||||
}
|
||||
}
|
||||
|
||||
Void::Testing::Test example_profile_options_are_separate() {
|
||||
VOID_TEST(ExampleContexts, example_profile_options_are_separate) {
|
||||
Void::Build::Profiles definitions;
|
||||
profiles(definitions);
|
||||
Void::Build::Project debug{
|
||||
@@ -47,11 +47,11 @@ Void::Testing::Test example_profile_options_are_separate() {
|
||||
Void::Testing::expect(debug.to_json() != release.to_json());
|
||||
}
|
||||
|
||||
Void::Testing::Test example_records_sources_links_and_pin() {
|
||||
VOID_TEST(ExampleContexts, example_records_sources_links_and_pin) {
|
||||
Void::Build::Project project{Void::Build::default_profiles().resolve(
|
||||
"debug", Void::Build::CompilerFamily::Gcc, "linux", "x86_64")};
|
||||
build(project);
|
||||
Void::Testing::expect_eq(project.targets().size(), std::size_t{7});
|
||||
Void::Testing::expect_eq(project.targets().size(), std::size_t{13});
|
||||
Void::Testing::expect_eq(project.targets().at(0).name, std::string{"VoidBuildSdk"});
|
||||
Void::Testing::expect_eq(project.targets().at(0).sources.at(0).path,
|
||||
std::string{"src/Build.cpp"});
|
||||
@@ -68,7 +68,14 @@ Void::Testing::Test example_records_sources_links_and_pin() {
|
||||
Void::Testing::expect_eq(project.targets().at(5).name, std::string{"vbs-registry"});
|
||||
Void::Testing::expect_eq(project.targets().at(6).name, std::string{"vbs_self_smoke"});
|
||||
Void::Testing::expect_eq(project.targets().at(6).kind, Void::Build::TargetKind::Test);
|
||||
Void::Testing::expect_eq(project.targets().at(7).name, std::string{"vbs_benchmarks"});
|
||||
Void::Testing::expect_eq(project.targets().at(8).name, std::string{"vbs_sdk_tests"});
|
||||
Void::Testing::expect_eq(project.targets().at(8).kind, Void::Build::TargetKind::Test);
|
||||
Void::Testing::expect_eq(project.targets().at(9).name, std::string{"vbs_core_tests"});
|
||||
Void::Testing::expect_eq(project.targets().at(10).name, std::string{"vbs_v1_tests"});
|
||||
Void::Testing::expect_eq(project.targets().at(11).name, std::string{"vbs_registry_tests"});
|
||||
Void::Testing::expect_eq(project.targets().at(12).name, std::string{"vbs_selfhost_tests"});
|
||||
Void::Testing::expect_eq(project.dependencies().at(0).revision,
|
||||
std::string{"3e254055e081a104f08df68dde39711bc7813518"});
|
||||
Void::Testing::expect_eq(project.dependencies().at(0).builder, std::string{"cmake"});
|
||||
Void::Testing::expect_eq(project.dependencies().at(0).builder, std::string{"native"});
|
||||
}
|
||||
Reference in new issue
Block a user