summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2024-01-19 11:02:18 +0100
committerOliver Reiche <oliver.reiche@huawei.com>2024-01-19 11:06:56 +0100
commit1dd86efdebb18ebf099396f45b366677b66a5cfd (patch)
treece82f48217d433e4b48551700c920f3eee2d9bfa /test
parentb00ef322be2fd3329b6e4844f402387c7ace91ab (diff)
downloadbootstrappable-toolchain-1dd86efdebb18ebf099396f45b366677b66a5cfd.tar.gz
tests: Replace "export" by "configure"
Diffstat (limited to 'test')
-rw-r--r--test/TARGETS198
1 files changed, 135 insertions, 63 deletions
diff --git a/test/TARGETS b/test/TARGETS
index d9da126..d043f9d 100644
--- a/test/TARGETS
+++ b/test/TARGETS
@@ -116,103 +116,175 @@
}
}
, "test-c_shared-gnulibs":
- { "type": "export"
- , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"]
- , "fixed_config":
- { "STATIC_FULL": false
- , "STATIC_RUNLIBS": false
- , "USE_LIBCXX": false
- , "CONFIG_TARGET": "test-c"
+ { "type": "configure"
+ , "config":
+ { "type": "let*"
+ , "bindings":
+ [ ["STATIC_FULL", false]
+ , ["STATIC_RUNLIBS", false]
+ , ["USE_LIBCXX", false]
+ , ["CONFIG_TARGET", "test-c"]
+ ]
+ , "body":
+ { "type": "env"
+ , "vars":
+ ["STATIC_FULL", "STATIC_RUNLIBS", "USE_LIBCXX", "CONFIG_TARGET"]
+ }
}
, "target": "config"
+ , "tainted": ["test"]
}
, "test-cpp_shared-gnulibs":
- { "type": "export"
- , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"]
- , "fixed_config":
- { "STATIC_FULL": false
- , "STATIC_RUNLIBS": false
- , "USE_LIBCXX": false
- , "CONFIG_TARGET": "test-cpp"
+ { "type": "configure"
+ , "config":
+ { "type": "let*"
+ , "bindings":
+ [ ["STATIC_FULL", false]
+ , ["STATIC_RUNLIBS", false]
+ , ["USE_LIBCXX", false]
+ , ["CONFIG_TARGET", "test-cpp"]
+ ]
+ , "body":
+ { "type": "env"
+ , "vars":
+ ["STATIC_FULL", "STATIC_RUNLIBS", "USE_LIBCXX", "CONFIG_TARGET"]
+ }
}
, "target": "config"
+ , "tainted": ["test"]
}
, "test-cpp_shared-llvmlibs":
- { "type": "export"
- , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"]
- , "fixed_config":
- { "STATIC_FULL": false
- , "STATIC_RUNLIBS": false
- , "USE_LIBCXX": true
- , "CONFIG_TARGET": "test-cpp"
+ { "type": "configure"
+ , "config":
+ { "type": "let*"
+ , "bindings":
+ [ ["STATIC_FULL", false]
+ , ["STATIC_RUNLIBS", false]
+ , ["USE_LIBCXX", true]
+ , ["CONFIG_TARGET", "test-cpp"]
+ ]
+ , "body":
+ { "type": "env"
+ , "vars":
+ ["STATIC_FULL", "STATIC_RUNLIBS", "USE_LIBCXX", "CONFIG_TARGET"]
+ }
}
, "target": "config"
+ , "tainted": ["test"]
}
, "test-c_mixed-gnulibs":
- { "type": "export"
- , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"]
- , "fixed_config":
- { "STATIC_FULL": false
- , "STATIC_RUNLIBS": true
- , "USE_LIBCXX": false
- , "CONFIG_TARGET": "test-c"
+ { "type": "configure"
+ , "config":
+ { "type": "let*"
+ , "bindings":
+ [ ["STATIC_FULL", false]
+ , ["STATIC_RUNLIBS", true]
+ , ["USE_LIBCXX", false]
+ , ["CONFIG_TARGET", "test-c"]
+ ]
+ , "body":
+ { "type": "env"
+ , "vars":
+ ["STATIC_FULL", "STATIC_RUNLIBS", "USE_LIBCXX", "CONFIG_TARGET"]
+ }
}
, "target": "config"
+ , "tainted": ["test"]
}
, "test-cpp_mixed-gnulibs":
- { "type": "export"
- , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"]
- , "fixed_config":
- { "STATIC_FULL": false
- , "STATIC_RUNLIBS": true
- , "USE_LIBCXX": false
- , "CONFIG_TARGET": "test-cpp"
+ { "type": "configure"
+ , "config":
+ { "type": "let*"
+ , "bindings":
+ [ ["STATIC_FULL", false]
+ , ["STATIC_RUNLIBS", true]
+ , ["USE_LIBCXX", false]
+ , ["CONFIG_TARGET", "test-cpp"]
+ ]
+ , "body":
+ { "type": "env"
+ , "vars":
+ ["STATIC_FULL", "STATIC_RUNLIBS", "USE_LIBCXX", "CONFIG_TARGET"]
+ }
}
, "target": "config"
+ , "tainted": ["test"]
}
, "test-cpp_mixed-llvmlibs":
- { "type": "export"
- , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"]
- , "fixed_config":
- { "STATIC_FULL": false
- , "STATIC_RUNLIBS": true
- , "USE_LIBCXX": true
- , "CONFIG_TARGET": "test-cpp"
+ { "type": "configure"
+ , "config":
+ { "type": "let*"
+ , "bindings":
+ [ ["STATIC_FULL", false]
+ , ["STATIC_RUNLIBS", true]
+ , ["USE_LIBCXX", true]
+ , ["CONFIG_TARGET", "test-cpp"]
+ ]
+ , "body":
+ { "type": "env"
+ , "vars":
+ ["STATIC_FULL", "STATIC_RUNLIBS", "USE_LIBCXX", "CONFIG_TARGET"]
+ }
}
, "target": "config"
+ , "tainted": ["test"]
}
, "test-c_static-gnulibs":
- { "type": "export"
- , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"]
- , "fixed_config":
- { "STATIC_FULL": true
- , "STATIC_RUNLIBS": true
- , "USE_LIBCXX": false
- , "CONFIG_TARGET": "test-c"
+ { "type": "configure"
+ , "config":
+ { "type": "let*"
+ , "bindings":
+ [ ["STATIC_FULL", true]
+ , ["STATIC_RUNLIBS", true]
+ , ["USE_LIBCXX", false]
+ , ["CONFIG_TARGET", "test-c"]
+ ]
+ , "body":
+ { "type": "env"
+ , "vars":
+ ["STATIC_FULL", "STATIC_RUNLIBS", "USE_LIBCXX", "CONFIG_TARGET"]
+ }
}
, "target": "config"
+ , "tainted": ["test"]
}
, "test-cpp_static-gnulibs":
- { "type": "export"
- , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"]
- , "fixed_config":
- { "STATIC_FULL": true
- , "STATIC_RUNLIBS": true
- , "USE_LIBCXX": false
- , "CONFIG_TARGET": "test-cpp"
+ { "type": "configure"
+ , "config":
+ { "type": "let*"
+ , "bindings":
+ [ ["STATIC_FULL", true]
+ , ["STATIC_RUNLIBS", true]
+ , ["USE_LIBCXX", false]
+ , ["CONFIG_TARGET", "test-cpp"]
+ ]
+ , "body":
+ { "type": "env"
+ , "vars":
+ ["STATIC_FULL", "STATIC_RUNLIBS", "USE_LIBCXX", "CONFIG_TARGET"]
+ }
}
, "target": "config"
+ , "tainted": ["test"]
}
, "test-cpp_static-llvmlibs":
- { "type": "export"
- , "flexible_config": ["ARCH", "TARGET_ARCH", "TOOLCHAIN_CONFIG", "ENV"]
- , "fixed_config":
- { "STATIC_FULL": true
- , "STATIC_RUNLIBS": true
- , "USE_LIBCXX": true
- , "CONFIG_TARGET": "test-cpp"
+ { "type": "configure"
+ , "config":
+ { "type": "let*"
+ , "bindings":
+ [ ["STATIC_FULL", true]
+ , ["STATIC_RUNLIBS", true]
+ , ["USE_LIBCXX", true]
+ , ["CONFIG_TARGET", "test-cpp"]
+ ]
+ , "body":
+ { "type": "env"
+ , "vars":
+ ["STATIC_FULL", "STATIC_RUNLIBS", "USE_LIBCXX", "CONFIG_TARGET"]
+ }
}
, "target": "config"
+ , "tainted": ["test"]
}
, "ALL":
{ "type": "install"