2009-08-11 17:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
+ tests/hbpptest/hbpptest.hbp
+ tests/bldtest/bldtest.hbp
+ tests/multifnc/multifnc.hbp
+ Added hbmk2 make files (quite simple ones) for these tests.
Better make them independent of the core make system.
This way they also work outside the source distribution,
f.e. when shipped inside a binary distro.
- tests/hbpptest/Makefile
- tests/bldtest/Makefile
- tests/multifnc/Makefile
- Deleted GNU Make files.
- tests/Makefile
- Deleted GNU Make file. hbmk2 is recommended to build these tests.
The only missing feature compared to Makefile is auto-exclusion
of "NOTEST" sources, anyway it's pretty apparent from first line
of each source file, so it shouldn't be a problem.
This commit is contained in:
@@ -17,6 +17,26 @@
|
||||
past entries belonging to author(s): Viktor Szakats.
|
||||
*/
|
||||
|
||||
2009-08-11 17:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
|
||||
+ tests/hbpptest/hbpptest.hbp
|
||||
+ tests/bldtest/bldtest.hbp
|
||||
+ tests/multifnc/multifnc.hbp
|
||||
+ Added hbmk2 make files (quite simple ones) for these tests.
|
||||
Better make them independent of the core make system.
|
||||
This way they also work outside the source distribution,
|
||||
f.e. when shipped inside a binary distro.
|
||||
|
||||
- tests/hbpptest/Makefile
|
||||
- tests/bldtest/Makefile
|
||||
- tests/multifnc/Makefile
|
||||
- Deleted GNU Make files.
|
||||
|
||||
- tests/Makefile
|
||||
- Deleted GNU Make file. hbmk2 is recommended to build these tests.
|
||||
The only missing feature compared to Makefile is auto-exclusion
|
||||
of "NOTEST" sources, anyway it's pretty apparent from first line
|
||||
of each source file, so it shouldn't be a problem.
|
||||
|
||||
2009-08-11 17:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/contrib/xhb/trpccli.prg
|
||||
! fixed typo in function name.
|
||||
|
||||
@@ -1,204 +0,0 @@
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
ifeq ($(HB_MAIN),)
|
||||
HB_MAIN := std
|
||||
endif
|
||||
|
||||
ROOT := ../
|
||||
|
||||
LIBS = $(HB_LIBS_ST_RDD)
|
||||
|
||||
ifeq ($(PM),) # PM not defined = build all files
|
||||
|
||||
PRG_SOURCES := \
|
||||
ac_test.prg \
|
||||
adirtest.prg \
|
||||
ainstest.prg \
|
||||
and_or.prg \
|
||||
array16.prg \
|
||||
arrayidx.prg \
|
||||
arrays.prg \
|
||||
arreval.prg \
|
||||
arrindex.prg \
|
||||
atest.prg \
|
||||
begin.prg \
|
||||
box.prg \
|
||||
boxtest.prg \
|
||||
byref.prg \
|
||||
calling.prg \
|
||||
cdow.prg \
|
||||
clasname.prg \
|
||||
classch.prg \
|
||||
classes.prg \
|
||||
clsdata.prg \
|
||||
cmphello.prg \
|
||||
codebl.prg \
|
||||
codebloc.prg \
|
||||
comments.prg \
|
||||
curdirt.prg \
|
||||
cursrtst.prg \
|
||||
dates.prg \
|
||||
dates2.prg \
|
||||
dates3.prg \
|
||||
db_brows.prg \
|
||||
dbevalts.prg \
|
||||
delimtst.prg \
|
||||
devtest.prg \
|
||||
dirtest.prg \
|
||||
disptest.prg \
|
||||
docase.prg \
|
||||
dosshell.prg \
|
||||
dynsym.prg \
|
||||
exittest.prg \
|
||||
fib.prg \
|
||||
fornext.prg \
|
||||
fortest.prg \
|
||||
fsplit.prg \
|
||||
hello.prg \
|
||||
ifelse.prg \
|
||||
ifinline.prg \
|
||||
initexit.prg \
|
||||
inkeytst.prg \
|
||||
inline.prg \
|
||||
iotest.prg \
|
||||
iotest2.prg \
|
||||
langapi.prg \
|
||||
lnlenli2.prg \
|
||||
longdev.prg \
|
||||
longstr.prg \
|
||||
longstr2.prg \
|
||||
memfile.prg \
|
||||
memory.prg \
|
||||
memvar.prg \
|
||||
menutest.prg \
|
||||
mousetst.prg \
|
||||
multiarg.prg \
|
||||
nums.prg \
|
||||
objects.prg \
|
||||
omacro.prg \
|
||||
onidle.prg \
|
||||
os.prg \
|
||||
output.prg \
|
||||
overload.prg \
|
||||
parexpr.prg \
|
||||
parseini.prg \
|
||||
passref.prg \
|
||||
procline.prg \
|
||||
procname.prg \
|
||||
readhrb.prg \
|
||||
recursiv.prg \
|
||||
returns.prg \
|
||||
rto_get.prg \
|
||||
rto_tb.prg \
|
||||
round.prg \
|
||||
say.prg \
|
||||
scroll.prg \
|
||||
sdf_test.prg \
|
||||
seconds.prg \
|
||||
server.prg \
|
||||
setkeys.prg \
|
||||
set_num.prg \
|
||||
set_test.prg \
|
||||
sound.prg \
|
||||
statinit.prg \
|
||||
statfun.prg \
|
||||
statics.prg \
|
||||
strdelim.prg \
|
||||
symbolt.prg \
|
||||
t1.prg \
|
||||
test_all.prg \
|
||||
testbrdb.prg \
|
||||
testbrw.prg \
|
||||
testcdx.prg \
|
||||
testcgi.prg \
|
||||
testdbf.prg \
|
||||
testdecl.prg \
|
||||
testerro.prg \
|
||||
testfor.prg \
|
||||
testhtml.prg \
|
||||
testhrb.prg \
|
||||
testid.prg \
|
||||
testinc.prg \
|
||||
testmem.prg \
|
||||
testntx.prg \
|
||||
testpre.prg \
|
||||
testprof.prg \
|
||||
testrdd.prg \
|
||||
testread.prg \
|
||||
teststr.prg \
|
||||
testvars.prg \
|
||||
testwarn.prg \
|
||||
tstalias.prg \
|
||||
tstasort.prg \
|
||||
tstcolor.prg \
|
||||
tstdbi.prg \
|
||||
tstdspac.prg \
|
||||
varparam.prg \
|
||||
version.prg \
|
||||
vmasort.prg \
|
||||
while.prg \
|
||||
newrdd.prg \
|
||||
brwpos.prg \
|
||||
|
||||
PRG_HEADERS := \
|
||||
db_brows.ch \
|
||||
cgi.ch \
|
||||
keywords.ch \
|
||||
test.ch \
|
||||
|
||||
BAD_PRG_SOURCES := \
|
||||
alias.prg \
|
||||
clasinit.prg \
|
||||
dates4.prg \
|
||||
debugtst.prg \
|
||||
dupvars.prg \
|
||||
dynobj.prg \
|
||||
extend1.prg \
|
||||
exthrb.prg \
|
||||
funcarr.prg \
|
||||
inherit.prg \
|
||||
inifiles.prg \
|
||||
keywords.prg \
|
||||
linecont.prg \
|
||||
lnlenli1.prg \
|
||||
mathtest.prg \
|
||||
objarr.prg \
|
||||
objasign.prg \
|
||||
rtfclass.prg \
|
||||
statics1.prg \
|
||||
statics2.prg \
|
||||
stripem.prg \
|
||||
test.prg \
|
||||
test10.prg \
|
||||
testgt.prg \
|
||||
testpp.prg \
|
||||
testtok.prg \
|
||||
tstprag.prg \
|
||||
vec1.prg \
|
||||
|
||||
C_SOURCES := \
|
||||
|
||||
C_HEADERS := \
|
||||
|
||||
BAD_C_SOURCES := \
|
||||
extend2.c \
|
||||
|
||||
include $(TOP)$(ROOT)config/test.cf
|
||||
|
||||
else # PM defined = build specified file
|
||||
|
||||
ifneq ($(findstring .prg,$(PM)),)
|
||||
PRG_MAIN := $(PM)
|
||||
else
|
||||
ifneq ($(findstring .PRG,$(PM)),)
|
||||
PRG_MAIN := $(PM)
|
||||
else
|
||||
PRG_MAIN := $(PM).prg
|
||||
endif
|
||||
endif
|
||||
|
||||
include $(TOP)$(ROOT)config/bin.cf
|
||||
|
||||
endif
|
||||
@@ -1,13 +0,0 @@
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
ROOT := ../../
|
||||
|
||||
C_SOURCES := \
|
||||
|
||||
C_MAIN := bldtest.c
|
||||
|
||||
LIBS := \
|
||||
|
||||
include $(TOP)$(ROOT)config/bin.cf
|
||||
5
harbour/tests/bldtest/bldtest.hbp
Normal file
5
harbour/tests/bldtest/bldtest.hbp
Normal file
@@ -0,0 +1,5 @@
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
bldtest.c
|
||||
@@ -1,18 +0,0 @@
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
ifeq ($(HB_MAIN),)
|
||||
HB_MAIN := std
|
||||
endif
|
||||
|
||||
ROOT := ../../
|
||||
|
||||
PRG_SOURCES := \
|
||||
hbpptest.prg \
|
||||
|
||||
PRG_MAIN := hbpptest.prg
|
||||
|
||||
LIBS = $(HB_LIBS_ST_NORDD)
|
||||
|
||||
include $(TOP)$(ROOT)config/bin.cf
|
||||
7
harbour/tests/hbpptest/hbpptest.hbp
Normal file
7
harbour/tests/hbpptest/hbpptest.hbp
Normal file
@@ -0,0 +1,7 @@
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
hbpptest.prg
|
||||
|
||||
-nulrdd
|
||||
@@ -1,30 +0,0 @@
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
ifeq ($(HB_MAIN),)
|
||||
HB_MAIN := std
|
||||
endif
|
||||
|
||||
ROOT := ../../
|
||||
|
||||
include $(TOP)$(ROOT)config/global.cf
|
||||
|
||||
ifneq ($(findstring $(HB_COMPILER),gcc djgpp mingw cygwin),)
|
||||
HB_USER_LDFLAGS += -Wl,--allow-multiple-definition
|
||||
else
|
||||
ifneq ($(findstring $(HB_COMPILER),msvc pocc xcc),)
|
||||
HB_USER_LDFLAGS += /FORCE:MULTIPLE
|
||||
endif
|
||||
endif
|
||||
|
||||
PRG_SOURCES := \
|
||||
t0.prg \
|
||||
t1.prg \
|
||||
t2.prg \
|
||||
|
||||
PRG_MAIN := t0.prg
|
||||
|
||||
LIBS = $(HB_LIBS_ST_NORDD)
|
||||
|
||||
include $(TOP)$(ROOT)config/bin.cf
|
||||
12
harbour/tests/multifnc/multifnc.hbp
Normal file
12
harbour/tests/multifnc/multifnc.hbp
Normal file
@@ -0,0 +1,12 @@
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
|
||||
-ldflag={allgcc}-Wl,--allow-multiple-definition
|
||||
-ldflag={allmsvc|allpocc|xcc}/force:multiple
|
||||
|
||||
t0.prg
|
||||
t1.prg
|
||||
t2.prg
|
||||
|
||||
-nulrdd
|
||||
Reference in New Issue
Block a user