mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-25 00:55:11 +01:00
Add a basic test program.
This commit is contained in:
1 parent
3663708405
commit
0d829a5eb4
2 files changed
+28
No files matched your search
@@ -0,0 +1,3 @@
|
|||||||
|
*~
|
||||||
|
*.exe
|
||||||
|
a.out
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
// Use of this source code is governed by a BSD-style license that can be found
|
||||||
|
// in the LICENSE file.
|
||||||
|
|
||||||
|
/*
|
||||||
|
To manually run this test:
|
||||||
|
|
||||||
|
for cc in clang gcc; do
|
||||||
|
printf "%-8s" "$cc:"
|
||||||
|
$cc -std=c99 -Wall -Werror basic.c && ./a.out
|
||||||
|
rm -f a.out
|
||||||
|
done
|
||||||
|
|
||||||
|
It should print:
|
||||||
|
clang: PASS
|
||||||
|
gcc: PASS
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
#include "../../../gen/c/gif.c"
|
||||||
|
|
||||||
|
int main(int argc, char** argv) {
|
||||||
|
printf("PASS\n");
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
Reference in new issue
Block a user