From dce1c9383b0cf08cec88cee6761fb55e051f7611 Mon Sep 17 00:00:00 2001 From: "harishd%netscape.com" Date: Wed, 3 Jul 2002 20:12:28 +0000 Subject: [PATCH] ** NOT PART OF THE BUILD ** | Moving parser test cases from logparse dir. to html dir. --- allmakefiles.sh | 1 + .../tests/{logparse => html}/100397.html | 0 .../tests/{logparse => html}/100466.html | 0 .../tests/{logparse => html}/102370.html | 0 .../tests/{logparse => html}/15204.html | 0 .../tests/{logparse => html}/17003.html | 0 .../tests/{logparse => html}/22480.html | 0 .../tests/{logparse => html}/22596.html | 0 .../tests/{logparse => html}/26347.html | 0 .../tests/{logparse => html}/26853.html | 0 htmlparser/tests/{logparse => html}/3248.html | 0 .../tests/{logparse => html}/35806.html | 0 .../tests/{logparse => html}/40809_CR.html | 0 .../tests/{logparse => html}/40809_LF.html | 0 .../tests/{logparse => html}/43678.html | 0 .../tests/{logparse => html}/44791.html | 0 .../tests/{logparse => html}/47535.html | 0 .../tests/{logparse => html}/48256.html | 0 .../tests/{logparse => html}/50050.html | 0 .../tests/{logparse => html}/53112.html | 0 .../tests/{logparse => html}/54845.html | 0 .../tests/{logparse => html}/56245_1.html | 0 .../tests/{logparse => html}/56245_2.html | 0 .../tests/{logparse => html}/56245_3.html | 0 .../tests/{logparse => html}/58455.html | 0 .../tests/{logparse => html}/58809.html | 0 .../tests/{logparse => html}/65467.html | 0 .../tests/{logparse => html}/67569.html | 0 .../tests/{logparse => html}/67874.html | 0 .../tests/{logparse => html}/69576.html | 0 .../tests/{logparse => html}/70148.html | 0 .../tests/{logparse => html}/77352.html | 0 .../tests/{logparse => html}/78444.html | 0 .../tests/{logparse => html}/78848.html | 0 .../tests/{logparse => html}/84000.html | 0 .../tests/{logparse => html}/84491.html | 0 .../tests/{logparse => html}/88746.html | 0 .../tests/{logparse => html}/88992.html | 0 .../tests/{logparse => html}/91051.html | 0 .../tests/{logparse => html}/92530.html | 0 .../tests/{logparse => html}/93365.html | 0 .../tests/{logparse => html}/94208.html | 0 .../tests/{logparse => html}/96130.html | 0 htmlparser/tests/html/ListGen.pl | 20 +++++++ htmlparser/tests/html/Makefile.in | 48 +++++++++++++++ htmlparser/tests/html/README | 9 +++ .../tests/{logparse => html}/TestParser.cpp | 0 .../tests/{logparse => html}/TestParser.pl | 0 .../tests/{logparse => html}/badscript.html | 0 .../tests/{logparse => html}/bigscript.html | 0 .../tests/{logparse => html}/bigtxt.html | 0 .../tests/{logparse => html}/comments.html | 0 .../{logparse => html}/entity_attrlist.html | 0 .../tests/{logparse => html}/entity_list.html | 0 htmlparser/tests/{logparse => html}/java.html | 0 htmlparser/tests/html/makefile.win | 55 ++++++++++++++++++ .../tests/{logparse => html}/nulltest.html | Bin .../tests/{logparse => html}/option.html | 0 .../tests/{logparse => html}/title.html | 0 htmlparser/tests/logparse/Makefile.in | 4 +- htmlparser/tests/logparse/makefile.win | 4 +- .../tests/{logparse => html}/100397.html | 0 .../tests/{logparse => html}/100466.html | 0 .../tests/{logparse => html}/102370.html | 0 .../tests/{logparse => html}/15204.html | 0 .../tests/{logparse => html}/17003.html | 0 .../tests/{logparse => html}/22480.html | 0 .../tests/{logparse => html}/22596.html | 0 .../tests/{logparse => html}/26347.html | 0 .../tests/{logparse => html}/26853.html | 0 .../tests/{logparse => html}/3248.html | 0 .../tests/{logparse => html}/35806.html | 0 .../tests/{logparse => html}/40809_CR.html | 0 .../tests/{logparse => html}/40809_LF.html | 0 .../tests/{logparse => html}/43678.html | 0 .../tests/{logparse => html}/44791.html | 0 .../tests/{logparse => html}/47535.html | 0 .../tests/{logparse => html}/48256.html | 0 .../tests/{logparse => html}/50050.html | 0 .../tests/{logparse => html}/53112.html | 0 .../tests/{logparse => html}/54845.html | 0 .../tests/{logparse => html}/56245_1.html | 0 .../tests/{logparse => html}/56245_2.html | 0 .../tests/{logparse => html}/56245_3.html | 0 .../tests/{logparse => html}/58455.html | 0 .../tests/{logparse => html}/58809.html | 0 .../tests/{logparse => html}/65467.html | 0 .../tests/{logparse => html}/67569.html | 0 .../tests/{logparse => html}/67874.html | 0 .../tests/{logparse => html}/69576.html | 0 .../tests/{logparse => html}/70148.html | 0 .../tests/{logparse => html}/77352.html | 0 .../tests/{logparse => html}/78444.html | 0 .../tests/{logparse => html}/78848.html | 0 .../tests/{logparse => html}/84000.html | 0 .../tests/{logparse => html}/84491.html | 0 .../tests/{logparse => html}/88746.html | 0 .../tests/{logparse => html}/88992.html | 0 .../tests/{logparse => html}/91051.html | 0 .../tests/{logparse => html}/92530.html | 0 .../tests/{logparse => html}/93365.html | 0 .../tests/{logparse => html}/94208.html | 0 .../tests/{logparse => html}/96130.html | 0 parser/htmlparser/tests/html/ListGen.pl | 20 +++++++ parser/htmlparser/tests/html/Makefile.in | 48 +++++++++++++++ parser/htmlparser/tests/html/README | 9 +++ .../tests/{logparse => html}/TestParser.cpp | 0 .../tests/{logparse => html}/TestParser.pl | 0 .../tests/{logparse => html}/badscript.html | 0 .../tests/{logparse => html}/bigscript.html | 0 .../tests/{logparse => html}/bigtxt.html | 0 .../tests/{logparse => html}/comments.html | 0 .../{logparse => html}/entity_attrlist.html | 0 .../tests/{logparse => html}/entity_list.html | 0 .../tests/{logparse => html}/java.html | 0 parser/htmlparser/tests/html/makefile.win | 55 ++++++++++++++++++ .../tests/{logparse => html}/nulltest.html | Bin .../tests/{logparse => html}/option.html | 0 .../tests/{logparse => html}/title.html | 0 parser/htmlparser/tests/logparse/Makefile.in | 4 +- parser/htmlparser/tests/logparse/makefile.win | 4 +- 121 files changed, 273 insertions(+), 8 deletions(-) rename htmlparser/tests/{logparse => html}/100397.html (100%) rename htmlparser/tests/{logparse => html}/100466.html (100%) rename htmlparser/tests/{logparse => html}/102370.html (100%) rename htmlparser/tests/{logparse => html}/15204.html (100%) rename htmlparser/tests/{logparse => html}/17003.html (100%) rename htmlparser/tests/{logparse => html}/22480.html (100%) rename htmlparser/tests/{logparse => html}/22596.html (100%) rename htmlparser/tests/{logparse => html}/26347.html (100%) rename htmlparser/tests/{logparse => html}/26853.html (100%) rename htmlparser/tests/{logparse => html}/3248.html (100%) rename htmlparser/tests/{logparse => html}/35806.html (100%) rename htmlparser/tests/{logparse => html}/40809_CR.html (100%) rename htmlparser/tests/{logparse => html}/40809_LF.html (100%) rename htmlparser/tests/{logparse => html}/43678.html (100%) rename htmlparser/tests/{logparse => html}/44791.html (100%) rename htmlparser/tests/{logparse => html}/47535.html (100%) rename htmlparser/tests/{logparse => html}/48256.html (100%) rename htmlparser/tests/{logparse => html}/50050.html (100%) rename htmlparser/tests/{logparse => html}/53112.html (100%) rename htmlparser/tests/{logparse => html}/54845.html (100%) rename htmlparser/tests/{logparse => html}/56245_1.html (100%) rename htmlparser/tests/{logparse => html}/56245_2.html (100%) rename htmlparser/tests/{logparse => html}/56245_3.html (100%) rename htmlparser/tests/{logparse => html}/58455.html (100%) rename htmlparser/tests/{logparse => html}/58809.html (100%) rename htmlparser/tests/{logparse => html}/65467.html (100%) rename htmlparser/tests/{logparse => html}/67569.html (100%) rename htmlparser/tests/{logparse => html}/67874.html (100%) rename htmlparser/tests/{logparse => html}/69576.html (100%) rename htmlparser/tests/{logparse => html}/70148.html (100%) rename htmlparser/tests/{logparse => html}/77352.html (100%) rename htmlparser/tests/{logparse => html}/78444.html (100%) rename htmlparser/tests/{logparse => html}/78848.html (100%) rename htmlparser/tests/{logparse => html}/84000.html (100%) rename htmlparser/tests/{logparse => html}/84491.html (100%) rename htmlparser/tests/{logparse => html}/88746.html (100%) rename htmlparser/tests/{logparse => html}/88992.html (100%) rename htmlparser/tests/{logparse => html}/91051.html (100%) rename htmlparser/tests/{logparse => html}/92530.html (100%) rename htmlparser/tests/{logparse => html}/93365.html (100%) rename htmlparser/tests/{logparse => html}/94208.html (100%) rename htmlparser/tests/{logparse => html}/96130.html (100%) create mode 100755 htmlparser/tests/html/ListGen.pl create mode 100644 htmlparser/tests/html/Makefile.in create mode 100644 htmlparser/tests/html/README rename htmlparser/tests/{logparse => html}/TestParser.cpp (100%) rename htmlparser/tests/{logparse => html}/TestParser.pl (100%) mode change 100644 => 100755 rename htmlparser/tests/{logparse => html}/badscript.html (100%) rename htmlparser/tests/{logparse => html}/bigscript.html (100%) rename htmlparser/tests/{logparse => html}/bigtxt.html (100%) rename htmlparser/tests/{logparse => html}/comments.html (100%) rename htmlparser/tests/{logparse => html}/entity_attrlist.html (100%) rename htmlparser/tests/{logparse => html}/entity_list.html (100%) rename htmlparser/tests/{logparse => html}/java.html (100%) create mode 100755 htmlparser/tests/html/makefile.win rename htmlparser/tests/{logparse => html}/nulltest.html (100%) rename htmlparser/tests/{logparse => html}/option.html (100%) rename htmlparser/tests/{logparse => html}/title.html (100%) rename parser/htmlparser/tests/{logparse => html}/100397.html (100%) rename parser/htmlparser/tests/{logparse => html}/100466.html (100%) rename parser/htmlparser/tests/{logparse => html}/102370.html (100%) rename parser/htmlparser/tests/{logparse => html}/15204.html (100%) rename parser/htmlparser/tests/{logparse => html}/17003.html (100%) rename parser/htmlparser/tests/{logparse => html}/22480.html (100%) rename parser/htmlparser/tests/{logparse => html}/22596.html (100%) rename parser/htmlparser/tests/{logparse => html}/26347.html (100%) rename parser/htmlparser/tests/{logparse => html}/26853.html (100%) rename parser/htmlparser/tests/{logparse => html}/3248.html (100%) rename parser/htmlparser/tests/{logparse => html}/35806.html (100%) rename parser/htmlparser/tests/{logparse => html}/40809_CR.html (100%) rename parser/htmlparser/tests/{logparse => html}/40809_LF.html (100%) rename parser/htmlparser/tests/{logparse => html}/43678.html (100%) rename parser/htmlparser/tests/{logparse => html}/44791.html (100%) rename parser/htmlparser/tests/{logparse => html}/47535.html (100%) rename parser/htmlparser/tests/{logparse => html}/48256.html (100%) rename parser/htmlparser/tests/{logparse => html}/50050.html (100%) rename parser/htmlparser/tests/{logparse => html}/53112.html (100%) rename parser/htmlparser/tests/{logparse => html}/54845.html (100%) rename parser/htmlparser/tests/{logparse => html}/56245_1.html (100%) rename parser/htmlparser/tests/{logparse => html}/56245_2.html (100%) rename parser/htmlparser/tests/{logparse => html}/56245_3.html (100%) rename parser/htmlparser/tests/{logparse => html}/58455.html (100%) rename parser/htmlparser/tests/{logparse => html}/58809.html (100%) rename parser/htmlparser/tests/{logparse => html}/65467.html (100%) rename parser/htmlparser/tests/{logparse => html}/67569.html (100%) rename parser/htmlparser/tests/{logparse => html}/67874.html (100%) rename parser/htmlparser/tests/{logparse => html}/69576.html (100%) rename parser/htmlparser/tests/{logparse => html}/70148.html (100%) rename parser/htmlparser/tests/{logparse => html}/77352.html (100%) rename parser/htmlparser/tests/{logparse => html}/78444.html (100%) rename parser/htmlparser/tests/{logparse => html}/78848.html (100%) rename parser/htmlparser/tests/{logparse => html}/84000.html (100%) rename parser/htmlparser/tests/{logparse => html}/84491.html (100%) rename parser/htmlparser/tests/{logparse => html}/88746.html (100%) rename parser/htmlparser/tests/{logparse => html}/88992.html (100%) rename parser/htmlparser/tests/{logparse => html}/91051.html (100%) rename parser/htmlparser/tests/{logparse => html}/92530.html (100%) rename parser/htmlparser/tests/{logparse => html}/93365.html (100%) rename parser/htmlparser/tests/{logparse => html}/94208.html (100%) rename parser/htmlparser/tests/{logparse => html}/96130.html (100%) create mode 100755 parser/htmlparser/tests/html/ListGen.pl create mode 100644 parser/htmlparser/tests/html/Makefile.in create mode 100644 parser/htmlparser/tests/html/README rename parser/htmlparser/tests/{logparse => html}/TestParser.cpp (100%) rename parser/htmlparser/tests/{logparse => html}/TestParser.pl (100%) mode change 100644 => 100755 rename parser/htmlparser/tests/{logparse => html}/badscript.html (100%) rename parser/htmlparser/tests/{logparse => html}/bigscript.html (100%) rename parser/htmlparser/tests/{logparse => html}/bigtxt.html (100%) rename parser/htmlparser/tests/{logparse => html}/comments.html (100%) rename parser/htmlparser/tests/{logparse => html}/entity_attrlist.html (100%) rename parser/htmlparser/tests/{logparse => html}/entity_list.html (100%) rename parser/htmlparser/tests/{logparse => html}/java.html (100%) create mode 100755 parser/htmlparser/tests/html/makefile.win rename parser/htmlparser/tests/{logparse => html}/nulltest.html (100%) rename parser/htmlparser/tests/{logparse => html}/option.html (100%) rename parser/htmlparser/tests/{logparse => html}/title.html (100%) diff --git a/allmakefiles.sh b/allmakefiles.sh index 0d78482c4409..dfa40be73be7 100755 --- a/allmakefiles.sh +++ b/allmakefiles.sh @@ -150,6 +150,7 @@ htmlparser/src/Makefile htmlparser/tests/Makefile htmlparser/tests/grabpage/Makefile htmlparser/tests/logparse/Makefile +htmlparser/tests/html/Makefile htmlparser/tests/outsinks/Makefile " diff --git a/htmlparser/tests/logparse/100397.html b/htmlparser/tests/html/100397.html similarity index 100% rename from htmlparser/tests/logparse/100397.html rename to htmlparser/tests/html/100397.html diff --git a/htmlparser/tests/logparse/100466.html b/htmlparser/tests/html/100466.html similarity index 100% rename from htmlparser/tests/logparse/100466.html rename to htmlparser/tests/html/100466.html diff --git a/htmlparser/tests/logparse/102370.html b/htmlparser/tests/html/102370.html similarity index 100% rename from htmlparser/tests/logparse/102370.html rename to htmlparser/tests/html/102370.html diff --git a/htmlparser/tests/logparse/15204.html b/htmlparser/tests/html/15204.html similarity index 100% rename from htmlparser/tests/logparse/15204.html rename to htmlparser/tests/html/15204.html diff --git a/htmlparser/tests/logparse/17003.html b/htmlparser/tests/html/17003.html similarity index 100% rename from htmlparser/tests/logparse/17003.html rename to htmlparser/tests/html/17003.html diff --git a/htmlparser/tests/logparse/22480.html b/htmlparser/tests/html/22480.html similarity index 100% rename from htmlparser/tests/logparse/22480.html rename to htmlparser/tests/html/22480.html diff --git a/htmlparser/tests/logparse/22596.html b/htmlparser/tests/html/22596.html similarity index 100% rename from htmlparser/tests/logparse/22596.html rename to htmlparser/tests/html/22596.html diff --git a/htmlparser/tests/logparse/26347.html b/htmlparser/tests/html/26347.html similarity index 100% rename from htmlparser/tests/logparse/26347.html rename to htmlparser/tests/html/26347.html diff --git a/htmlparser/tests/logparse/26853.html b/htmlparser/tests/html/26853.html similarity index 100% rename from htmlparser/tests/logparse/26853.html rename to htmlparser/tests/html/26853.html diff --git a/htmlparser/tests/logparse/3248.html b/htmlparser/tests/html/3248.html similarity index 100% rename from htmlparser/tests/logparse/3248.html rename to htmlparser/tests/html/3248.html diff --git a/htmlparser/tests/logparse/35806.html b/htmlparser/tests/html/35806.html similarity index 100% rename from htmlparser/tests/logparse/35806.html rename to htmlparser/tests/html/35806.html diff --git a/htmlparser/tests/logparse/40809_CR.html b/htmlparser/tests/html/40809_CR.html similarity index 100% rename from htmlparser/tests/logparse/40809_CR.html rename to htmlparser/tests/html/40809_CR.html diff --git a/htmlparser/tests/logparse/40809_LF.html b/htmlparser/tests/html/40809_LF.html similarity index 100% rename from htmlparser/tests/logparse/40809_LF.html rename to htmlparser/tests/html/40809_LF.html diff --git a/htmlparser/tests/logparse/43678.html b/htmlparser/tests/html/43678.html similarity index 100% rename from htmlparser/tests/logparse/43678.html rename to htmlparser/tests/html/43678.html diff --git a/htmlparser/tests/logparse/44791.html b/htmlparser/tests/html/44791.html similarity index 100% rename from htmlparser/tests/logparse/44791.html rename to htmlparser/tests/html/44791.html diff --git a/htmlparser/tests/logparse/47535.html b/htmlparser/tests/html/47535.html similarity index 100% rename from htmlparser/tests/logparse/47535.html rename to htmlparser/tests/html/47535.html diff --git a/htmlparser/tests/logparse/48256.html b/htmlparser/tests/html/48256.html similarity index 100% rename from htmlparser/tests/logparse/48256.html rename to htmlparser/tests/html/48256.html diff --git a/htmlparser/tests/logparse/50050.html b/htmlparser/tests/html/50050.html similarity index 100% rename from htmlparser/tests/logparse/50050.html rename to htmlparser/tests/html/50050.html diff --git a/htmlparser/tests/logparse/53112.html b/htmlparser/tests/html/53112.html similarity index 100% rename from htmlparser/tests/logparse/53112.html rename to htmlparser/tests/html/53112.html diff --git a/htmlparser/tests/logparse/54845.html b/htmlparser/tests/html/54845.html similarity index 100% rename from htmlparser/tests/logparse/54845.html rename to htmlparser/tests/html/54845.html diff --git a/htmlparser/tests/logparse/56245_1.html b/htmlparser/tests/html/56245_1.html similarity index 100% rename from htmlparser/tests/logparse/56245_1.html rename to htmlparser/tests/html/56245_1.html diff --git a/htmlparser/tests/logparse/56245_2.html b/htmlparser/tests/html/56245_2.html similarity index 100% rename from htmlparser/tests/logparse/56245_2.html rename to htmlparser/tests/html/56245_2.html diff --git a/htmlparser/tests/logparse/56245_3.html b/htmlparser/tests/html/56245_3.html similarity index 100% rename from htmlparser/tests/logparse/56245_3.html rename to htmlparser/tests/html/56245_3.html diff --git a/htmlparser/tests/logparse/58455.html b/htmlparser/tests/html/58455.html similarity index 100% rename from htmlparser/tests/logparse/58455.html rename to htmlparser/tests/html/58455.html diff --git a/htmlparser/tests/logparse/58809.html b/htmlparser/tests/html/58809.html similarity index 100% rename from htmlparser/tests/logparse/58809.html rename to htmlparser/tests/html/58809.html diff --git a/htmlparser/tests/logparse/65467.html b/htmlparser/tests/html/65467.html similarity index 100% rename from htmlparser/tests/logparse/65467.html rename to htmlparser/tests/html/65467.html diff --git a/htmlparser/tests/logparse/67569.html b/htmlparser/tests/html/67569.html similarity index 100% rename from htmlparser/tests/logparse/67569.html rename to htmlparser/tests/html/67569.html diff --git a/htmlparser/tests/logparse/67874.html b/htmlparser/tests/html/67874.html similarity index 100% rename from htmlparser/tests/logparse/67874.html rename to htmlparser/tests/html/67874.html diff --git a/htmlparser/tests/logparse/69576.html b/htmlparser/tests/html/69576.html similarity index 100% rename from htmlparser/tests/logparse/69576.html rename to htmlparser/tests/html/69576.html diff --git a/htmlparser/tests/logparse/70148.html b/htmlparser/tests/html/70148.html similarity index 100% rename from htmlparser/tests/logparse/70148.html rename to htmlparser/tests/html/70148.html diff --git a/htmlparser/tests/logparse/77352.html b/htmlparser/tests/html/77352.html similarity index 100% rename from htmlparser/tests/logparse/77352.html rename to htmlparser/tests/html/77352.html diff --git a/htmlparser/tests/logparse/78444.html b/htmlparser/tests/html/78444.html similarity index 100% rename from htmlparser/tests/logparse/78444.html rename to htmlparser/tests/html/78444.html diff --git a/htmlparser/tests/logparse/78848.html b/htmlparser/tests/html/78848.html similarity index 100% rename from htmlparser/tests/logparse/78848.html rename to htmlparser/tests/html/78848.html diff --git a/htmlparser/tests/logparse/84000.html b/htmlparser/tests/html/84000.html similarity index 100% rename from htmlparser/tests/logparse/84000.html rename to htmlparser/tests/html/84000.html diff --git a/htmlparser/tests/logparse/84491.html b/htmlparser/tests/html/84491.html similarity index 100% rename from htmlparser/tests/logparse/84491.html rename to htmlparser/tests/html/84491.html diff --git a/htmlparser/tests/logparse/88746.html b/htmlparser/tests/html/88746.html similarity index 100% rename from htmlparser/tests/logparse/88746.html rename to htmlparser/tests/html/88746.html diff --git a/htmlparser/tests/logparse/88992.html b/htmlparser/tests/html/88992.html similarity index 100% rename from htmlparser/tests/logparse/88992.html rename to htmlparser/tests/html/88992.html diff --git a/htmlparser/tests/logparse/91051.html b/htmlparser/tests/html/91051.html similarity index 100% rename from htmlparser/tests/logparse/91051.html rename to htmlparser/tests/html/91051.html diff --git a/htmlparser/tests/logparse/92530.html b/htmlparser/tests/html/92530.html similarity index 100% rename from htmlparser/tests/logparse/92530.html rename to htmlparser/tests/html/92530.html diff --git a/htmlparser/tests/logparse/93365.html b/htmlparser/tests/html/93365.html similarity index 100% rename from htmlparser/tests/logparse/93365.html rename to htmlparser/tests/html/93365.html diff --git a/htmlparser/tests/logparse/94208.html b/htmlparser/tests/html/94208.html similarity index 100% rename from htmlparser/tests/logparse/94208.html rename to htmlparser/tests/html/94208.html diff --git a/htmlparser/tests/logparse/96130.html b/htmlparser/tests/html/96130.html similarity index 100% rename from htmlparser/tests/logparse/96130.html rename to htmlparser/tests/html/96130.html diff --git a/htmlparser/tests/html/ListGen.pl b/htmlparser/tests/html/ListGen.pl new file mode 100755 index 000000000000..c8c71a27c4e4 --- /dev/null +++ b/htmlparser/tests/html/ListGen.pl @@ -0,0 +1,20 @@ +#!/usr/bin/perl + +use Cwd; + +$curr_dir=`cd`; + +open(OUTFILE,">file_list.txt") || die "Can't open file_list.txt $!"; +opendir(D,"."); + +@files=readdir(D); +$curr_dir=~s/\\/\//g; +chomp($curr_dir); + +foreach $file(@files) { + if($file=~m/\.*m/) { + print OUTFILE "$file\n"; + } +} + + diff --git a/htmlparser/tests/html/Makefile.in b/htmlparser/tests/html/Makefile.in new file mode 100644 index 000000000000..1528eaa7d5ae --- /dev/null +++ b/htmlparser/tests/html/Makefile.in @@ -0,0 +1,48 @@ +# +# The contents of this file are subject to the Netscape Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/NPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Netscape +# Communications Corporation. Portions created by Netscape are +# Copyright (C) 1998 Netscape Communications Corporation. All +# Rights Reserved. +# +# Contributor(s): +# + +DEPTH = ../../.. +topsrcdir = y:/mozilla +srcdir = y:/mozilla/htmlparser/tests/html +VPATH = y:/mozilla/htmlparser/tests/html + +include $(DEPTH)/config/autoconf.mk + +PROGRAM = TestParser.exe + +REQUIRES = \ + xpcom \ + string \ + necko \ + htmlparser \ + $(NULL) + +CPPSRCS = \ + TestParser.cpp\ + $(NULL) + +LIBS = \ + $(XPCOM_LIBS) \ + $(NSPR_LIBS) \ + $(NULL) + +include $(topsrcdir)/config/rules.mk + diff --git a/htmlparser/tests/html/README b/htmlparser/tests/html/README new file mode 100644 index 000000000000..f267cb0b8014 --- /dev/null +++ b/htmlparser/tests/html/README @@ -0,0 +1,9 @@ +To run parser regression test do the following: + +1) perl ListGen.pl ( this will create file_list.txt ) +2) make ( build TestParser.exe ) +3) perl TestParser.pl -b ://mozilla/dist/bin file_list.txt + ( creates base line files. Note: Should be run _without_ your changes ) +4) apply your patch. +5) perl TestParser.pl -v ://mozilla/dist/bin file_list.txt + ( creates .v files and compares against base line. ) diff --git a/htmlparser/tests/logparse/TestParser.cpp b/htmlparser/tests/html/TestParser.cpp similarity index 100% rename from htmlparser/tests/logparse/TestParser.cpp rename to htmlparser/tests/html/TestParser.cpp diff --git a/htmlparser/tests/logparse/TestParser.pl b/htmlparser/tests/html/TestParser.pl old mode 100644 new mode 100755 similarity index 100% rename from htmlparser/tests/logparse/TestParser.pl rename to htmlparser/tests/html/TestParser.pl diff --git a/htmlparser/tests/logparse/badscript.html b/htmlparser/tests/html/badscript.html similarity index 100% rename from htmlparser/tests/logparse/badscript.html rename to htmlparser/tests/html/badscript.html diff --git a/htmlparser/tests/logparse/bigscript.html b/htmlparser/tests/html/bigscript.html similarity index 100% rename from htmlparser/tests/logparse/bigscript.html rename to htmlparser/tests/html/bigscript.html diff --git a/htmlparser/tests/logparse/bigtxt.html b/htmlparser/tests/html/bigtxt.html similarity index 100% rename from htmlparser/tests/logparse/bigtxt.html rename to htmlparser/tests/html/bigtxt.html diff --git a/htmlparser/tests/logparse/comments.html b/htmlparser/tests/html/comments.html similarity index 100% rename from htmlparser/tests/logparse/comments.html rename to htmlparser/tests/html/comments.html diff --git a/htmlparser/tests/logparse/entity_attrlist.html b/htmlparser/tests/html/entity_attrlist.html similarity index 100% rename from htmlparser/tests/logparse/entity_attrlist.html rename to htmlparser/tests/html/entity_attrlist.html diff --git a/htmlparser/tests/logparse/entity_list.html b/htmlparser/tests/html/entity_list.html similarity index 100% rename from htmlparser/tests/logparse/entity_list.html rename to htmlparser/tests/html/entity_list.html diff --git a/htmlparser/tests/logparse/java.html b/htmlparser/tests/html/java.html similarity index 100% rename from htmlparser/tests/logparse/java.html rename to htmlparser/tests/html/java.html diff --git a/htmlparser/tests/html/makefile.win b/htmlparser/tests/html/makefile.win new file mode 100755 index 000000000000..b9329b2d2ce2 --- /dev/null +++ b/htmlparser/tests/html/makefile.win @@ -0,0 +1,55 @@ +#!nmake +# +# The contents of this file are subject to the Netscape Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/NPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Netscape +# Communications Corporation. Portions created by Netscape are +# Copyright (C) 1998 Netscape Communications Corporation. All +# Rights Reserved. +# +# Contributor(s): + +DEPTH =..\..\.. +REQUIRES = \ + xpcom \ + htmlparser\ + necko \ + string \ + $NULL + +MAKE_OBJ_TYPE = EXE +PROGRAM = .\$(OBJDIR)\TestParser.exe + +OBJS = \ + .\$(OBJDIR)\TestParser.obj\ + $(NULL) + + +LLIBS = \ + $(DIST)\lib\xpcom.lib \ + $(LIBNSPR) \ + $(NULL) + +LLFLAGS= -SUBSYSTEM:CONSOLE + +include <$(DEPTH)\config\rules.mak> + +!ifdef MOZ_NO_DEBUG_RTL +OS_CFLAGS = $(OS_CFLAGS) -DMOZ_NO_DEBUG_RTL +!endif + +libs:: $(PROGRAM) + $(MAKE_INSTALL) $(PROGRAM) $(DIST)\bin + +clobber:: + rm -f $(DIST)\bin\TestParser.exe diff --git a/htmlparser/tests/logparse/nulltest.html b/htmlparser/tests/html/nulltest.html similarity index 100% rename from htmlparser/tests/logparse/nulltest.html rename to htmlparser/tests/html/nulltest.html diff --git a/htmlparser/tests/logparse/option.html b/htmlparser/tests/html/option.html similarity index 100% rename from htmlparser/tests/logparse/option.html rename to htmlparser/tests/html/option.html diff --git a/htmlparser/tests/logparse/title.html b/htmlparser/tests/html/title.html similarity index 100% rename from htmlparser/tests/logparse/title.html rename to htmlparser/tests/html/title.html diff --git a/htmlparser/tests/logparse/Makefile.in b/htmlparser/tests/logparse/Makefile.in index af0e2cc4c878..23db22eac637 100644 --- a/htmlparser/tests/logparse/Makefile.in +++ b/htmlparser/tests/logparse/Makefile.in @@ -26,7 +26,7 @@ VPATH = y:/mozilla/htmlparser/tests/logparse include $(DEPTH)/config/autoconf.mk -PROGRAM = TestParser.exe +PROGRAM = logparse.exe REQUIRES = \ xpcom \ @@ -36,7 +36,7 @@ REQUIRES = \ $(NULL) CPPSRCS = \ - TestParser.cpp\ + logparse.cpp\ $(NULL) LIBS = \ diff --git a/htmlparser/tests/logparse/makefile.win b/htmlparser/tests/logparse/makefile.win index b9329b2d2ce2..c4854a23cf9b 100644 --- a/htmlparser/tests/logparse/makefile.win +++ b/htmlparser/tests/logparse/makefile.win @@ -28,10 +28,10 @@ REQUIRES = \ $NULL MAKE_OBJ_TYPE = EXE -PROGRAM = .\$(OBJDIR)\TestParser.exe +PROGRAM = .\$(OBJDIR)\logparse.exe OBJS = \ - .\$(OBJDIR)\TestParser.obj\ + .\$(OBJDIR)\logparse.obj\ $(NULL) diff --git a/parser/htmlparser/tests/logparse/100397.html b/parser/htmlparser/tests/html/100397.html similarity index 100% rename from parser/htmlparser/tests/logparse/100397.html rename to parser/htmlparser/tests/html/100397.html diff --git a/parser/htmlparser/tests/logparse/100466.html b/parser/htmlparser/tests/html/100466.html similarity index 100% rename from parser/htmlparser/tests/logparse/100466.html rename to parser/htmlparser/tests/html/100466.html diff --git a/parser/htmlparser/tests/logparse/102370.html b/parser/htmlparser/tests/html/102370.html similarity index 100% rename from parser/htmlparser/tests/logparse/102370.html rename to parser/htmlparser/tests/html/102370.html diff --git a/parser/htmlparser/tests/logparse/15204.html b/parser/htmlparser/tests/html/15204.html similarity index 100% rename from parser/htmlparser/tests/logparse/15204.html rename to parser/htmlparser/tests/html/15204.html diff --git a/parser/htmlparser/tests/logparse/17003.html b/parser/htmlparser/tests/html/17003.html similarity index 100% rename from parser/htmlparser/tests/logparse/17003.html rename to parser/htmlparser/tests/html/17003.html diff --git a/parser/htmlparser/tests/logparse/22480.html b/parser/htmlparser/tests/html/22480.html similarity index 100% rename from parser/htmlparser/tests/logparse/22480.html rename to parser/htmlparser/tests/html/22480.html diff --git a/parser/htmlparser/tests/logparse/22596.html b/parser/htmlparser/tests/html/22596.html similarity index 100% rename from parser/htmlparser/tests/logparse/22596.html rename to parser/htmlparser/tests/html/22596.html diff --git a/parser/htmlparser/tests/logparse/26347.html b/parser/htmlparser/tests/html/26347.html similarity index 100% rename from parser/htmlparser/tests/logparse/26347.html rename to parser/htmlparser/tests/html/26347.html diff --git a/parser/htmlparser/tests/logparse/26853.html b/parser/htmlparser/tests/html/26853.html similarity index 100% rename from parser/htmlparser/tests/logparse/26853.html rename to parser/htmlparser/tests/html/26853.html diff --git a/parser/htmlparser/tests/logparse/3248.html b/parser/htmlparser/tests/html/3248.html similarity index 100% rename from parser/htmlparser/tests/logparse/3248.html rename to parser/htmlparser/tests/html/3248.html diff --git a/parser/htmlparser/tests/logparse/35806.html b/parser/htmlparser/tests/html/35806.html similarity index 100% rename from parser/htmlparser/tests/logparse/35806.html rename to parser/htmlparser/tests/html/35806.html diff --git a/parser/htmlparser/tests/logparse/40809_CR.html b/parser/htmlparser/tests/html/40809_CR.html similarity index 100% rename from parser/htmlparser/tests/logparse/40809_CR.html rename to parser/htmlparser/tests/html/40809_CR.html diff --git a/parser/htmlparser/tests/logparse/40809_LF.html b/parser/htmlparser/tests/html/40809_LF.html similarity index 100% rename from parser/htmlparser/tests/logparse/40809_LF.html rename to parser/htmlparser/tests/html/40809_LF.html diff --git a/parser/htmlparser/tests/logparse/43678.html b/parser/htmlparser/tests/html/43678.html similarity index 100% rename from parser/htmlparser/tests/logparse/43678.html rename to parser/htmlparser/tests/html/43678.html diff --git a/parser/htmlparser/tests/logparse/44791.html b/parser/htmlparser/tests/html/44791.html similarity index 100% rename from parser/htmlparser/tests/logparse/44791.html rename to parser/htmlparser/tests/html/44791.html diff --git a/parser/htmlparser/tests/logparse/47535.html b/parser/htmlparser/tests/html/47535.html similarity index 100% rename from parser/htmlparser/tests/logparse/47535.html rename to parser/htmlparser/tests/html/47535.html diff --git a/parser/htmlparser/tests/logparse/48256.html b/parser/htmlparser/tests/html/48256.html similarity index 100% rename from parser/htmlparser/tests/logparse/48256.html rename to parser/htmlparser/tests/html/48256.html diff --git a/parser/htmlparser/tests/logparse/50050.html b/parser/htmlparser/tests/html/50050.html similarity index 100% rename from parser/htmlparser/tests/logparse/50050.html rename to parser/htmlparser/tests/html/50050.html diff --git a/parser/htmlparser/tests/logparse/53112.html b/parser/htmlparser/tests/html/53112.html similarity index 100% rename from parser/htmlparser/tests/logparse/53112.html rename to parser/htmlparser/tests/html/53112.html diff --git a/parser/htmlparser/tests/logparse/54845.html b/parser/htmlparser/tests/html/54845.html similarity index 100% rename from parser/htmlparser/tests/logparse/54845.html rename to parser/htmlparser/tests/html/54845.html diff --git a/parser/htmlparser/tests/logparse/56245_1.html b/parser/htmlparser/tests/html/56245_1.html similarity index 100% rename from parser/htmlparser/tests/logparse/56245_1.html rename to parser/htmlparser/tests/html/56245_1.html diff --git a/parser/htmlparser/tests/logparse/56245_2.html b/parser/htmlparser/tests/html/56245_2.html similarity index 100% rename from parser/htmlparser/tests/logparse/56245_2.html rename to parser/htmlparser/tests/html/56245_2.html diff --git a/parser/htmlparser/tests/logparse/56245_3.html b/parser/htmlparser/tests/html/56245_3.html similarity index 100% rename from parser/htmlparser/tests/logparse/56245_3.html rename to parser/htmlparser/tests/html/56245_3.html diff --git a/parser/htmlparser/tests/logparse/58455.html b/parser/htmlparser/tests/html/58455.html similarity index 100% rename from parser/htmlparser/tests/logparse/58455.html rename to parser/htmlparser/tests/html/58455.html diff --git a/parser/htmlparser/tests/logparse/58809.html b/parser/htmlparser/tests/html/58809.html similarity index 100% rename from parser/htmlparser/tests/logparse/58809.html rename to parser/htmlparser/tests/html/58809.html diff --git a/parser/htmlparser/tests/logparse/65467.html b/parser/htmlparser/tests/html/65467.html similarity index 100% rename from parser/htmlparser/tests/logparse/65467.html rename to parser/htmlparser/tests/html/65467.html diff --git a/parser/htmlparser/tests/logparse/67569.html b/parser/htmlparser/tests/html/67569.html similarity index 100% rename from parser/htmlparser/tests/logparse/67569.html rename to parser/htmlparser/tests/html/67569.html diff --git a/parser/htmlparser/tests/logparse/67874.html b/parser/htmlparser/tests/html/67874.html similarity index 100% rename from parser/htmlparser/tests/logparse/67874.html rename to parser/htmlparser/tests/html/67874.html diff --git a/parser/htmlparser/tests/logparse/69576.html b/parser/htmlparser/tests/html/69576.html similarity index 100% rename from parser/htmlparser/tests/logparse/69576.html rename to parser/htmlparser/tests/html/69576.html diff --git a/parser/htmlparser/tests/logparse/70148.html b/parser/htmlparser/tests/html/70148.html similarity index 100% rename from parser/htmlparser/tests/logparse/70148.html rename to parser/htmlparser/tests/html/70148.html diff --git a/parser/htmlparser/tests/logparse/77352.html b/parser/htmlparser/tests/html/77352.html similarity index 100% rename from parser/htmlparser/tests/logparse/77352.html rename to parser/htmlparser/tests/html/77352.html diff --git a/parser/htmlparser/tests/logparse/78444.html b/parser/htmlparser/tests/html/78444.html similarity index 100% rename from parser/htmlparser/tests/logparse/78444.html rename to parser/htmlparser/tests/html/78444.html diff --git a/parser/htmlparser/tests/logparse/78848.html b/parser/htmlparser/tests/html/78848.html similarity index 100% rename from parser/htmlparser/tests/logparse/78848.html rename to parser/htmlparser/tests/html/78848.html diff --git a/parser/htmlparser/tests/logparse/84000.html b/parser/htmlparser/tests/html/84000.html similarity index 100% rename from parser/htmlparser/tests/logparse/84000.html rename to parser/htmlparser/tests/html/84000.html diff --git a/parser/htmlparser/tests/logparse/84491.html b/parser/htmlparser/tests/html/84491.html similarity index 100% rename from parser/htmlparser/tests/logparse/84491.html rename to parser/htmlparser/tests/html/84491.html diff --git a/parser/htmlparser/tests/logparse/88746.html b/parser/htmlparser/tests/html/88746.html similarity index 100% rename from parser/htmlparser/tests/logparse/88746.html rename to parser/htmlparser/tests/html/88746.html diff --git a/parser/htmlparser/tests/logparse/88992.html b/parser/htmlparser/tests/html/88992.html similarity index 100% rename from parser/htmlparser/tests/logparse/88992.html rename to parser/htmlparser/tests/html/88992.html diff --git a/parser/htmlparser/tests/logparse/91051.html b/parser/htmlparser/tests/html/91051.html similarity index 100% rename from parser/htmlparser/tests/logparse/91051.html rename to parser/htmlparser/tests/html/91051.html diff --git a/parser/htmlparser/tests/logparse/92530.html b/parser/htmlparser/tests/html/92530.html similarity index 100% rename from parser/htmlparser/tests/logparse/92530.html rename to parser/htmlparser/tests/html/92530.html diff --git a/parser/htmlparser/tests/logparse/93365.html b/parser/htmlparser/tests/html/93365.html similarity index 100% rename from parser/htmlparser/tests/logparse/93365.html rename to parser/htmlparser/tests/html/93365.html diff --git a/parser/htmlparser/tests/logparse/94208.html b/parser/htmlparser/tests/html/94208.html similarity index 100% rename from parser/htmlparser/tests/logparse/94208.html rename to parser/htmlparser/tests/html/94208.html diff --git a/parser/htmlparser/tests/logparse/96130.html b/parser/htmlparser/tests/html/96130.html similarity index 100% rename from parser/htmlparser/tests/logparse/96130.html rename to parser/htmlparser/tests/html/96130.html diff --git a/parser/htmlparser/tests/html/ListGen.pl b/parser/htmlparser/tests/html/ListGen.pl new file mode 100755 index 000000000000..c8c71a27c4e4 --- /dev/null +++ b/parser/htmlparser/tests/html/ListGen.pl @@ -0,0 +1,20 @@ +#!/usr/bin/perl + +use Cwd; + +$curr_dir=`cd`; + +open(OUTFILE,">file_list.txt") || die "Can't open file_list.txt $!"; +opendir(D,"."); + +@files=readdir(D); +$curr_dir=~s/\\/\//g; +chomp($curr_dir); + +foreach $file(@files) { + if($file=~m/\.*m/) { + print OUTFILE "$file\n"; + } +} + + diff --git a/parser/htmlparser/tests/html/Makefile.in b/parser/htmlparser/tests/html/Makefile.in new file mode 100644 index 000000000000..1528eaa7d5ae --- /dev/null +++ b/parser/htmlparser/tests/html/Makefile.in @@ -0,0 +1,48 @@ +# +# The contents of this file are subject to the Netscape Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/NPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Netscape +# Communications Corporation. Portions created by Netscape are +# Copyright (C) 1998 Netscape Communications Corporation. All +# Rights Reserved. +# +# Contributor(s): +# + +DEPTH = ../../.. +topsrcdir = y:/mozilla +srcdir = y:/mozilla/htmlparser/tests/html +VPATH = y:/mozilla/htmlparser/tests/html + +include $(DEPTH)/config/autoconf.mk + +PROGRAM = TestParser.exe + +REQUIRES = \ + xpcom \ + string \ + necko \ + htmlparser \ + $(NULL) + +CPPSRCS = \ + TestParser.cpp\ + $(NULL) + +LIBS = \ + $(XPCOM_LIBS) \ + $(NSPR_LIBS) \ + $(NULL) + +include $(topsrcdir)/config/rules.mk + diff --git a/parser/htmlparser/tests/html/README b/parser/htmlparser/tests/html/README new file mode 100644 index 000000000000..f267cb0b8014 --- /dev/null +++ b/parser/htmlparser/tests/html/README @@ -0,0 +1,9 @@ +To run parser regression test do the following: + +1) perl ListGen.pl ( this will create file_list.txt ) +2) make ( build TestParser.exe ) +3) perl TestParser.pl -b ://mozilla/dist/bin file_list.txt + ( creates base line files. Note: Should be run _without_ your changes ) +4) apply your patch. +5) perl TestParser.pl -v ://mozilla/dist/bin file_list.txt + ( creates .v files and compares against base line. ) diff --git a/parser/htmlparser/tests/logparse/TestParser.cpp b/parser/htmlparser/tests/html/TestParser.cpp similarity index 100% rename from parser/htmlparser/tests/logparse/TestParser.cpp rename to parser/htmlparser/tests/html/TestParser.cpp diff --git a/parser/htmlparser/tests/logparse/TestParser.pl b/parser/htmlparser/tests/html/TestParser.pl old mode 100644 new mode 100755 similarity index 100% rename from parser/htmlparser/tests/logparse/TestParser.pl rename to parser/htmlparser/tests/html/TestParser.pl diff --git a/parser/htmlparser/tests/logparse/badscript.html b/parser/htmlparser/tests/html/badscript.html similarity index 100% rename from parser/htmlparser/tests/logparse/badscript.html rename to parser/htmlparser/tests/html/badscript.html diff --git a/parser/htmlparser/tests/logparse/bigscript.html b/parser/htmlparser/tests/html/bigscript.html similarity index 100% rename from parser/htmlparser/tests/logparse/bigscript.html rename to parser/htmlparser/tests/html/bigscript.html diff --git a/parser/htmlparser/tests/logparse/bigtxt.html b/parser/htmlparser/tests/html/bigtxt.html similarity index 100% rename from parser/htmlparser/tests/logparse/bigtxt.html rename to parser/htmlparser/tests/html/bigtxt.html diff --git a/parser/htmlparser/tests/logparse/comments.html b/parser/htmlparser/tests/html/comments.html similarity index 100% rename from parser/htmlparser/tests/logparse/comments.html rename to parser/htmlparser/tests/html/comments.html diff --git a/parser/htmlparser/tests/logparse/entity_attrlist.html b/parser/htmlparser/tests/html/entity_attrlist.html similarity index 100% rename from parser/htmlparser/tests/logparse/entity_attrlist.html rename to parser/htmlparser/tests/html/entity_attrlist.html diff --git a/parser/htmlparser/tests/logparse/entity_list.html b/parser/htmlparser/tests/html/entity_list.html similarity index 100% rename from parser/htmlparser/tests/logparse/entity_list.html rename to parser/htmlparser/tests/html/entity_list.html diff --git a/parser/htmlparser/tests/logparse/java.html b/parser/htmlparser/tests/html/java.html similarity index 100% rename from parser/htmlparser/tests/logparse/java.html rename to parser/htmlparser/tests/html/java.html diff --git a/parser/htmlparser/tests/html/makefile.win b/parser/htmlparser/tests/html/makefile.win new file mode 100755 index 000000000000..b9329b2d2ce2 --- /dev/null +++ b/parser/htmlparser/tests/html/makefile.win @@ -0,0 +1,55 @@ +#!nmake +# +# The contents of this file are subject to the Netscape Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/NPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Netscape +# Communications Corporation. Portions created by Netscape are +# Copyright (C) 1998 Netscape Communications Corporation. All +# Rights Reserved. +# +# Contributor(s): + +DEPTH =..\..\.. +REQUIRES = \ + xpcom \ + htmlparser\ + necko \ + string \ + $NULL + +MAKE_OBJ_TYPE = EXE +PROGRAM = .\$(OBJDIR)\TestParser.exe + +OBJS = \ + .\$(OBJDIR)\TestParser.obj\ + $(NULL) + + +LLIBS = \ + $(DIST)\lib\xpcom.lib \ + $(LIBNSPR) \ + $(NULL) + +LLFLAGS= -SUBSYSTEM:CONSOLE + +include <$(DEPTH)\config\rules.mak> + +!ifdef MOZ_NO_DEBUG_RTL +OS_CFLAGS = $(OS_CFLAGS) -DMOZ_NO_DEBUG_RTL +!endif + +libs:: $(PROGRAM) + $(MAKE_INSTALL) $(PROGRAM) $(DIST)\bin + +clobber:: + rm -f $(DIST)\bin\TestParser.exe diff --git a/parser/htmlparser/tests/logparse/nulltest.html b/parser/htmlparser/tests/html/nulltest.html similarity index 100% rename from parser/htmlparser/tests/logparse/nulltest.html rename to parser/htmlparser/tests/html/nulltest.html diff --git a/parser/htmlparser/tests/logparse/option.html b/parser/htmlparser/tests/html/option.html similarity index 100% rename from parser/htmlparser/tests/logparse/option.html rename to parser/htmlparser/tests/html/option.html diff --git a/parser/htmlparser/tests/logparse/title.html b/parser/htmlparser/tests/html/title.html similarity index 100% rename from parser/htmlparser/tests/logparse/title.html rename to parser/htmlparser/tests/html/title.html diff --git a/parser/htmlparser/tests/logparse/Makefile.in b/parser/htmlparser/tests/logparse/Makefile.in index af0e2cc4c878..23db22eac637 100644 --- a/parser/htmlparser/tests/logparse/Makefile.in +++ b/parser/htmlparser/tests/logparse/Makefile.in @@ -26,7 +26,7 @@ VPATH = y:/mozilla/htmlparser/tests/logparse include $(DEPTH)/config/autoconf.mk -PROGRAM = TestParser.exe +PROGRAM = logparse.exe REQUIRES = \ xpcom \ @@ -36,7 +36,7 @@ REQUIRES = \ $(NULL) CPPSRCS = \ - TestParser.cpp\ + logparse.cpp\ $(NULL) LIBS = \ diff --git a/parser/htmlparser/tests/logparse/makefile.win b/parser/htmlparser/tests/logparse/makefile.win index b9329b2d2ce2..c4854a23cf9b 100644 --- a/parser/htmlparser/tests/logparse/makefile.win +++ b/parser/htmlparser/tests/logparse/makefile.win @@ -28,10 +28,10 @@ REQUIRES = \ $NULL MAKE_OBJ_TYPE = EXE -PROGRAM = .\$(OBJDIR)\TestParser.exe +PROGRAM = .\$(OBJDIR)\logparse.exe OBJS = \ - .\$(OBJDIR)\TestParser.obj\ + .\$(OBJDIR)\logparse.obj\ $(NULL)