mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15:05 +02:00
WIP - C unit testing stubs
This commit is contained in:
parent
3b921e7389
commit
5defc8d8a1
2 changed files with 11 additions and 0 deletions
4
Makefile
4
Makefile
|
@ -342,3 +342,7 @@ install-bin : cyclone icyc
|
|||
$(MKDIR) $(DESTDIR)$(BINDIR)
|
||||
$(INSTALL) -m0755 cyclone $(DESTDIR)$(BINDIR)/
|
||||
$(INSTALL) -m0755 icyc $(DESTDIR)$(BINDIR)/
|
||||
|
||||
# TODO: is this linking in local lcyclone or the system one????
|
||||
test-lib: test-lib.c
|
||||
$(CC) test-lib.c -o test-lib -L . $(LIBS)
|
||||
|
|
7
test-lib.c
Normal file
7
test-lib.c
Normal file
|
@ -0,0 +1,7 @@
|
|||
#include <stdio.h>
|
||||
#include "include/cyclone/types.h"
|
||||
#include "include/cyclone/runtime.h"
|
||||
|
||||
void main(){
|
||||
printf("TODO %p\n", boolean_f);
|
||||
}
|
Loading…
Add table
Reference in a new issue