fix: noconfirm auto-selects first AUR match

This commit is contained in:
2026-05-08 11:01:02 +01:00
parent d39cdc3fd9
commit 153cca6132
8056 changed files with 1983098 additions and 779 deletions
@@ -0,0 +1,9 @@
#ifndef CTHING
#error "Local argument not set"
#endif
#ifdef CPPTHING
#error "Wrong local argument set"
#endif
int func(void) { return 0; }
@@ -0,0 +1,9 @@
#ifdef CTHING
#error "Local C argument set in wrong target"
#endif
#ifdef CPPTHING
#error "Local CPP argument set in wrong target"
#endif
int func(void) { return 0; }
@@ -0,0 +1,9 @@
project('local arg test', 'cpp', 'c')
exe1 = executable('prog', 'prog.cc', 'func.c', \
c_args : '-DCTHING', \
cpp_args : '-DCPPTHING')
exe2 = executable('prog2', 'prog2.cc', 'func2.c')
test('prog1', exe1)
test('prog2', exe2)
@@ -0,0 +1,13 @@
#ifdef CTHING
#error "Wrong local argument set"
#endif
#ifndef CPPTHING
#error "Local argument not set"
#endif
extern "C" int func();
int main(void) {
return func();
}
@@ -0,0 +1,13 @@
#ifdef CTHING
#error "Local C argument set in wrong target"
#endif
#ifdef CPPTHING
#error "Local CPP argument set in wrong target"
#endif
extern "C" int func();
int main(void) {
return func();
}