diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2022-12-16 17:20:09 +0100 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2022-12-16 21:07:50 +0100 |
commit | 484092bb16cbf4683313c4adab8571699513a60b (patch) | |
tree | 2184574e1c4c41857afae0f81157ec5634f763c8 /rules/CC/test | |
parent | 81d2bf3484f23035a7d919c2c22d0485f13d8857 (diff) | |
parent | 95284ec611a53ca9c7925aad4bbe3f6561de018a (diff) | |
download | rules-cc-484092bb16cbf4683313c4adab8571699513a60b.tar.gz |
Merge commit '95284ec611a53ca9c7925aad4bbe3f6561de018a' into shared-rules
Diffstat (limited to 'rules/CC/test')
-rw-r--r-- | rules/CC/test/RULES | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/rules/CC/test/RULES b/rules/CC/test/RULES index 3821339..60f33ab 100644 --- a/rules/CC/test/RULES +++ b/rules/CC/test/RULES @@ -18,9 +18,12 @@ , "CXX" , "CFLAGS" , "CXXFLAGS" + , "LDFLAGS" , "ADD_CFLAGS" , "ADD_CXXFLAGS" + , "ADD_LDFLAGS" , "ENV" + , "BUILD_POSITION_INDEPENDENT" , "TEST_ENV" , "CC_TEST_LAUNCHER" ] @@ -65,6 +68,10 @@ [ "The flags for CXX to be used instead of the default ones" , "taken from the [\"CC\", \"defaults\"] target" ] + , "LDFLAGS": + [ "The linker flags do be used instead of the default ones" + , "taken from the [\"CC\", \"defaults\"] target" + ] , "ADD_CFLAGS": [ "The flags to add to the default ones for CC" , "taken from the [\"CC\", \"defaults\"] target" @@ -73,7 +80,12 @@ [ "The flags to add to the default ones for CXX" , "taken from the [\"CC\", \"defaults\"] target" ] + , "ADD_LDFLAGS": + [ "The linker flags to add to the default ones" + , "taken from the [\"CC\", \"defaults\"] target" + ] , "ENV": ["The environment for any action generated."] + , "BUILD_POSITION_INDEPENDENT": ["Build with -fPIC."] , "TEST_ENV": ["The environment for executing the test runner."] , "CC_TEST_LAUNCHER": [ "List of strings representing the launcher that is prepend to the" @@ -101,6 +113,8 @@ , "compile-args-deps": ["./", "..", "compile-args-deps"] , "link-deps": ["./", "..", "link-deps"] , "link-args-deps": ["./", "..", "link-args-deps"] + , "run-libs-deps": ["./", "..", "run-libs-deps"] + , "run-libs-args-deps": ["./", "..", "run-libs-args-deps"] , "binary": ["./", "..", "bin artifact"] , "host transition": ["transitions", "for host"] } @@ -173,6 +187,10 @@ ] } ] + , ["run-libs", {"type": "CALL_EXPRESSION", "name": "run-libs-deps"}] + , [ "run-libs-args" + , {"type": "CALL_EXPRESSION", "name": "run-libs-args-deps"} + ] , ["binary", {"type": "CALL_EXPRESSION", "name": "binary"}] , [ "staged test binary" , { "type": "map_union" @@ -277,6 +295,7 @@ , {"type": "var", "name": "test-args"} , {"type": "var", "name": "test-launcher"} , {"type": "var", "name": "staged test binary"} + , {"type": "var", "name": "run-libs"} ] } , "cmd": ["./runner"] |