Mercury web pages.

Tyson Richard DOWD trd at students.cs.mu.oz.au
Mon Feb 10 17:41:01 AEDT 1997


> Tyson Richard DOWD, you wrote:
> > 
> > > 
> > > Can you please add code to tools/test_mercury to install the WWW page?
> > > 
> > > 	if murlibobo
> > > 		cd doc
> > > 		mmake INSTALL_WEBPAGE_DIR=blah install_webpage
> > 
> > How about I add code in run_all_tests_from_cron to run
> > tools/install_webpage instead, since it does all this stuff.
> 
> Oops, forgot about tools/install_webpage.  Yes, that would be good.

Ok, can you review this then? I'll commit it now, and update the
copy. It seems to work (although, obviously I haven't tested the
whole thing, just the added code, and I didn't use your account, nor
did I run it from cron. but it happens after the rest of the tests
so it shouldn't matter if it dies).

Index: run_all_tests_from_cron
===================================================================
RCS file: /home/staff/zs/imp/mercury/tools/run_all_tests_from_cron,v
retrieving revision 1.2
diff -u -r1.2 run_all_tests_from_cron
--- run_all_tests_from_cron	1996/11/24 17:10:55	1.2
+++ run_all_tests_from_cron	1997/02/10 06:34:24
@@ -102,3 +102,18 @@
 rm -f $tmpfile
 
 #-----------------------------------------------------------------------------#
+
+case $HOST in murlibobo)
+	cd /home/mercury/public/test_mercury/scripts;
+	cvs checkout mercury/tools/install_webpage
+	cp mercury/tools/install_webpage /tmp/install_webpage$$
+
+	tmpfile=/tmp/run_test$$
+	trap 'rm -f $tmpfile; exit 1' 1 2 3 13 15
+
+	/tmp/install_webpage$$
+	rm -f $tmpfile
+	;;
+esac
+
+#-----------------------------------------------------------------------------#


-- 
       Tyson Dowd           #          Another great idea from the 
                            #            people who brought you
      trd at .cs.mu.oz.au      #               Beer Milkshakes!
http://www.cs.mu.oz.au/~trd #	         Confidence --- Red Dwarf



More information about the developers mailing list