mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-31 13:10:34 +00:00
Start on alignment test
Currently fails (deliberately, WIP)
This commit is contained in:
parent
0542daacdf
commit
293f10211a
2 changed files with 19 additions and 0 deletions
|
@ -29,6 +29,7 @@ test_bins=\
|
|||
fail_bins=
|
||||
|
||||
test_progs_dat=\
|
||||
alignment.dat \
|
||||
chewed-alias.dat \
|
||||
chewed-return.dat \
|
||||
comma-expr.dat \
|
||||
|
@ -88,6 +89,15 @@ test_harness_DEPENDENCIES= $(QFCC_TEST_DEPS)
|
|||
|
||||
r_depfiles_remade=
|
||||
|
||||
alignment_dat_SOURCES=alignment.r
|
||||
alignment_obj=$(alignment_dat_SOURCES:.r=.qfo)
|
||||
alignment.dat$(EXEEXT): $(alignment_obj) $(QFCC_DEP)
|
||||
$(QFCC) $(QCFLAGS) -o $@ $(alignment_obj)
|
||||
alignment.run: Makefile build-run
|
||||
$(srcdir)/build-run $@
|
||||
include ./$(DEPDIR)/alignment.Qo # am--include-marker
|
||||
r_depfiles_remade += ./$(DEPDIR)/alignment.Qo
|
||||
|
||||
chewed_alias_dat_SOURCES=chewed-alias.r
|
||||
chewed_alias_obj=$(chewed_alias_dat_SOURCES:.r=.qfo)
|
||||
chewed-alias.dat$(EXEEXT): $(chewed_alias_obj) $(QFCC_DEP)
|
||||
|
|
9
tools/qfcc/test/alignment.r
Normal file
9
tools/qfcc/test/alignment.r
Normal file
|
@ -0,0 +1,9 @@
|
|||
int a;
|
||||
double b;
|
||||
int c;
|
||||
double d;
|
||||
|
||||
int main()
|
||||
{
|
||||
return 1;
|
||||
}
|
Loading…
Reference in a new issue