fix: noconfirm auto-selects first AUR match
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
project('test features', 'c')
|
||||
|
||||
tester = executable('tester', 'tester.c')
|
||||
test_with_status = executable('test-with-status', 'tester_with_status.c')
|
||||
test('nonzero return code no tests', tester, args : [], protocol: 'tap')
|
||||
test('nonzero return code with tests', test_with_status, protocol: 'tap')
|
||||
test('missing test', tester, args : ['1..1'], protocol: 'tap')
|
||||
test('incorrect skip', tester, args : ['1..1 # skip\nok 1'], protocol: 'tap')
|
||||
test('partially skipped', tester, args : ['not ok 1\nok 2 # skip'], protocol: 'tap')
|
||||
@@ -0,0 +1,10 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
if (argc != 2) {
|
||||
fprintf(stderr, "Incorrect number of arguments, got %i\n", argc);
|
||||
return 1;
|
||||
}
|
||||
puts(argv[1]);
|
||||
return 0;
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
puts("1..1");
|
||||
puts("not ok 1 - some test");
|
||||
return 2;
|
||||
}
|
||||
Reference in New Issue
Block a user