← Commit list

a55750af0b

Viktor Szakats
Viktor Szakats
2026-05-18
SUCCESS Duration: 260s

Subject

mk-unity.pl: `#include`, and not concatenate input headers

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

scripts/mk-unity.pl+1 -1
@@ -65,7 +65,7 @@ foreach my $src (@ARGV) {
sub include($@) {
my $filename = shift;
- if($concat) {
+ if($concat && $filename =~ /([a-z0-9_]+)\.c$/) {
if(! -f $filename) {
foreach my $path (@incpath) {
my $fullfn = $path . "/" . $filename;
tests/libtest/first.h+1 -3
@@ -108,10 +108,7 @@ void ws_close(CURL *curl); /* just close the connection */
*
* For portability reasons TEST_ERR_* values should be less than 127.
*/
-#if !defined(UNITTESTS) || defined(BUILDING_LIBCURL)
#define TEST_ERR_MAJOR_BAD CURLE_OBSOLETE20
-#endif
-#ifndef UNITTESTS
#define TEST_ERR_RUNS_FOREVER CURLE_OBSOLETE24
#define TEST_ERR_EASY_INIT CURLE_OBSOLETE29
#define TEST_ERR_MULTI CURLE_OBSOLETE32
@@ -152,6 +149,7 @@ void ws_close(CURL *curl); /* just close the connection */
* TEST_ERR_* values defined above. It is advisable to return this value
* as test result.
*/
+#ifndef UNITTESTS
/* ---------------------------------------------------------------- */