source: trunk/tester/scripts/Makefile.in @ 4503

Last change on this file since 4503 was 4127, checked in by mmc, 7 years ago

Added a "-auto" option to "rappture -tester" so you can run all tests
without the GUI in the background. This is needed as we try to run
regressions automatically during the contribtool process. In order to
do this, I had to split the Tool object into a "Task" that can run
without the GUI, and the "Tool" that acts as a ControlOwner?. I also
had to support for resource file processing into the generic Rappture
package. As a result, "rappture -tester -auto" can run without an
X window connection.

Added support for "job_protocol mx" in the resources file. If you
specify this, then Rappture will execute "mx cmd arg arg..." to run
each job.

File size: 1.3 KB
Line 
1
2srcdir          = @srcdir@
3prefix          = @prefix@
4exec_prefix     = @exec_prefix@
5bindir          = @bindir@
6libdir          = @libdir@
7datadir         = @datadir@
8datarootdir     = @datarootdir@
9mandir          = @mandir@
10includedir      = @includedir@
11
12SHELL           = @SHELL@
13INSTALL         = @INSTALL@
14MKDIR_P         = @MKDIR_P@
15TCLSH           = @TCLSH@
16VPATH           = $(srcdir)
17PACKAGE_VERSION = @PACKAGE_VERSION@
18
19FILES           = \
20                $(srcdir)/auto.tcl \
21                $(srcdir)/main.tcl \
22                $(srcdir)/legend.tcl \
23                $(srcdir)/objview.tcl \
24                $(srcdir)/resultspage.tcl \
25                $(srcdir)/runview.tcl \
26                $(srcdir)/statuslist.tcl \
27                $(srcdir)/stringdiffs.tcl \
28                $(srcdir)/test.tcl \
29                $(srcdir)/testtree.tcl \
30                $(srcdir)/testview.tcl
31
32version         = $(PACKAGE_VERSION)
33name            = RapptureTester$(version)
34
35destdir         = $(libdir)/$(name)/scripts
36
37all: tclIndex
38
39tclIndex: $(FILES)
40        $(TCLSH) $(srcdir)/../../gui/cf/mkindex.tcl --srcdir $(srcdir) \
41                --outfile tclIndex
42
43install: all install_scripts install_images
44
45install_scripts:
46        $(MKDIR_P) -m 0755 $(destdir)
47        @for i in $(FILES); do \
48            echo "Installing $$i" ; \
49            $(INSTALL) -m 444 $$i $(destdir) ; \
50        done
51        $(INSTALL) -m 444 tclIndex $(destdir)
52
53install_images:
54        $(MKDIR_P) -m 0755 $(destdir)/images
55        @for i in $(srcdir)/images/*.png; do \
56            echo "Installing $$i" ; \
57            $(INSTALL) -m 444 $$i $(destdir)/images ; \
58        done
59
60clean:
61        $(RM) tclIndex
62
63distclean: clean
64        $(RM) Makefile *~
Note: See TracBrowser for help on using the repository browser.