diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2010-11-25 06:55:03 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2010-11-25 06:55:03 +0100 |
commit | 5f72b8029c07f3357014d8716f18f21ce649c98a (patch) | |
tree | d2d8cd279515d3f1900ddd196f4cbcc710a66adc /test/src | |
parent | ec20965dbd3180a92d2daa69a075284688b1be04 (diff) |
Provide more real test packages
* Use devtools instead of plain makepkg
* This is a preparation for some more advanced test cases.
Diffstat (limited to 'test/src')
-rw-r--r-- | test/src/Makefile | 5 | ||||
-rw-r--r-- | test/src/test.c | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/test/src/Makefile b/test/src/Makefile new file mode 100644 index 0000000..105b730 --- /dev/null +++ b/test/src/Makefile @@ -0,0 +1,5 @@ +all: + gcc $(CFLAGS) -o test test.c + +install: + install -D -m755 test $(DESTDIR)/usr/bin/$(DESTBIN) diff --git a/test/src/test.c b/test/src/test.c new file mode 100644 index 0000000..a661689 --- /dev/null +++ b/test/src/test.c @@ -0,0 +1,7 @@ +#include <stdio.h> +#include <stdlib.h> + +int main(void) { + printf("Arch is the best!\n"); + return EXIT_SUCCESS; +} |