Bryce Denney
4da94436b0
- add test results for Linux, Solaris, and MacOS X
2002-10-17 07:16:22 +00:00
Bryce Denney
58ab9c64e4
- fill in cygwin and mingw testing results
2002-10-17 07:00:04 +00:00
Bryce Denney
dad1e7b3e9
- build the module symbol name myself instead of letting ltdl do it. On win32
...
I'm using ltdl even it considers my DLLs to NOT be a libtool archive, and
this is making the symbol name transformation mess up. If I do it myself,
I can avoid this.
2002-10-17 06:49:44 +00:00
Bryce Denney
ce0a80f390
- change symbols to "module1_LTX_name" instead of "libmodule1_LTX_name"
2002-10-17 06:48:05 +00:00
Bryce Denney
70350a7985
- experiment: build the module symbol name myself instead of letting
...
ltdl do it. On win32 I'm using ltdl even the it considers my DLLs
to NOT be a libtool archive, and it's making the symbol name
transformation mess up. If I do it myself, I can avoid this.
2002-10-17 06:36:45 +00:00
Bryce Denney
b55ebd6130
- eliminate duplicat symbols across modules
...
- modified: test9/module* test11/module* test12/module*
2002-10-17 05:53:50 +00:00
Bryce Denney
21695a8b18
- eliminate duplicate symbols between modules
2002-10-17 05:49:20 +00:00
Bryce Denney
d36c9f2643
- eliminate duplicate symbol names in modules
2002-10-17 05:39:41 +00:00
Bryce Denney
0710552145
- rename module symbols to make them unique. For example, now module_init
...
is libmodule1_LTX_module_init in module1. This is all done in the
modules.h header file so the .cc files still looks clean.
- modified: module1.cc module2.cc
- added: modules.h
2002-10-17 05:36:18 +00:00
Bryce Denney
c5ee3aea16
- move the extern definition for the module functions in to modules.h
2002-10-17 05:33:39 +00:00
Bryce Denney
3e7bc9e2da
- clean up comments
2002-10-17 05:33:17 +00:00
Bryce Denney
9eff1359ed
- add debug output related to searching for symbols
2002-10-17 04:22:29 +00:00
Bryce Denney
9a3d1b6f45
- remove config.cache when doing make dist-clean
2002-10-17 04:20:36 +00:00
Bryce Denney
5fd5ae8b79
- update configure by running autoconf 2.53
2002-10-17 04:20:16 +00:00
Bryce Denney
a55995edbc
- provide expected output for test 12
2002-10-17 00:38:07 +00:00
Bryce Denney
570fa2c949
- add test 12 which checks for global constructor problems and works
...
around it.
2002-10-17 00:34:26 +00:00
Bryce Denney
c3b2adfd00
- detect if we're about to crash due to global constructor problems, and
...
at least say what is going wrong.
2002-10-17 00:33:50 +00:00
Bryce Denney
08eae6dfbc
- clean cores too
2002-10-17 00:18:54 +00:00
Bryce Denney
6e1388f0d9
- add workaround for solaris that forces new operator to be linked with main
2002-10-17 00:09:54 +00:00
Bryce Denney
3d53781ba6
- for win32 dll, must export Widget class and array of Widget pointers
2002-10-16 22:33:32 +00:00
Bryce Denney
3f58f90cc9
- fix syntax errors related to missing quotes
2002-10-16 15:54:31 +00:00
Bryce Denney
f3a611de1f
- also remove *.exp and *.def, which are generated on win32
2002-10-16 15:52:36 +00:00
Bryce Denney
6ce1a5f593
- minor cleanup of output to do_tests.out
2002-10-16 15:38:48 +00:00
Bryce Denney
0a608092d7
- add script that does everything and collects results in do_tests.out
2002-10-16 15:31:18 +00:00
Bryce Denney
791012c8da
- add "-" to ignore failures. I want to build all directories, even
...
if some of them are failing.
2002-10-16 15:09:51 +00:00
Bryce Denney
f461ee0cf0
- add test11, which checks whether global constructors in a shared lib a
...
are called as the module is loaded.
2002-10-16 15:04:44 +00:00
Bryce Denney
7e5afc40da
- add tests 8,9,10
2002-10-16 14:56:26 +00:00
Bryce Denney
0c3efe4236
- add test9 which implements a class entirely in a module
2002-10-16 14:55:10 +00:00
Bryce Denney
855e2007a0
- add test10 in which each module creates its own child class of
...
DeviceInterface, and the main code talks to the devices using
virtual methods of Device Interface.
2002-10-16 14:45:32 +00:00
Bryce Denney
4cbcd6550b
- add test8-execlass, which defines a C++ class in the executable, and
...
tests that the modules can access it
2002-10-16 13:28:17 +00:00
Bryce Denney
fa853f3b48
- add VARIES{} fields around pointers and filenames
2002-10-16 13:11:23 +00:00
Bryce Denney
7eb6b6549b
- add expected output for test7
2002-10-16 13:10:31 +00:00
Bryce Denney
4417fb4865
- make it work with VPATH
2002-10-16 13:09:52 +00:00
Bryce Denney
69b0917ee7
- don't use diff -u, just plain diff so that it works with old diffs too
2002-10-16 13:05:44 +00:00
Bryce Denney
9f1f7f5687
- make test will run the testscript now that it exists
2002-10-16 13:05:17 +00:00
Bryce Denney
0982b46a7b
- configure will generate testscript now, so that VPATH works
2002-10-16 12:54:06 +00:00
Bryce Denney
51c22124a3
- configure will generate testscript now, so that it can work with VPATH
2002-10-16 12:53:35 +00:00
Bryce Denney
36d13ab996
- I added a printf in module1
2002-10-16 12:32:31 +00:00
Bryce Denney
7398aa8678
- add VARIES{} around the filename of the module, since it's platform
...
specific
2002-10-16 12:29:06 +00:00
Bryce Denney
8a1917efcd
- add VARIES{} around the module name that is loaded, since it's different
...
on win32
2002-10-16 12:27:42 +00:00
Bryce Denney
57cb560e53
- pull the ltdl link arg out of LIBS so that the libtool section and the
...
win32-dll section can specify it in their own different ways.
2002-10-16 12:26:48 +00:00
Bryce Denney
c0e6504d12
- add printf in the module. It seems that in my libtool builds on cygwin,
...
modules that call libc functions crash. This exposes that bug.
2002-10-16 12:24:43 +00:00
Bryce Denney
9e111bc7fe
- check in unpleasant hack to cause LTDL_SHLIB_EXT to say ".dll"
...
instead of ".dll.a". The way I did this is NOT good because
it affects libltdl/libtool too, but I only wanted to affect config.h.
But I haven't found any other way...
2002-10-16 12:23:28 +00:00
Bryce Denney
14a35053a0
- include stdlib.h so that exit is defined.
2002-10-16 04:40:21 +00:00
Bryce Denney
06253913ec
- first draft test script that runs "uselib" in every directory,
...
compares the exit code against the magic value of 77, and compares
the stdout output against the expected output.
2002-10-16 04:12:15 +00:00
Bryce Denney
a93c64a683
- move makefile code that is common to all subdirs into common-make-defs.txt
2002-10-16 04:11:22 +00:00
Bryce Denney
3086ca7059
- test program output and the reference output goes through this filter before
...
they are compared. It replaces VARIES{anything*@#$} with VARIES{xxx}
so that host-dependent outputs that are marked as such will match up.
2002-10-16 04:11:00 +00:00
Bryce Denney
1ee55d9edb
- move some makefile stuff that is common to all subdirs into
...
common-make-defs.txt
2002-10-16 04:09:24 +00:00
Bryce Denney
7fc1a8b2cf
- check in expected output from each program
2002-10-16 04:08:24 +00:00
Bryce Denney
837d985b19
- call exit(77) for success. 77 was chosen arbitrarily; it is unlikely that a
...
malfunctional program could return this code by accident.
2002-10-16 04:07:58 +00:00