20345318 elinks should have some master test results to compare against
authorRich Burridge <rich.burridge@oracle.com>
Tue, 13 Jan 2015 07:55:43 -0800
changeset 3625 43b658b2e7cf
parent 3622 0ad0ca4eca8e
child 3626 48d8d7ae6e0a
20345318 elinks should have some master test results to compare against
components/elinks/Makefile
components/elinks/test/results-64.master
--- a/components/elinks/Makefile	Mon Jan 12 07:30:32 2015 -0800
+++ b/components/elinks/Makefile	Tue Jan 13 07:55:43 2015 -0800
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -54,6 +54,16 @@
 CONFIGURE_OPTIONS  +=		--enable-256-colors
 CONFIGURE_OPTIONS  +=		CFLAGS="$(CFLAGS)"
 
+# Use the HTML and CSS styling external test suite as referenced at
+# http://www.w3.org/2005/MWI/Tests/
+COMPONENT_TEST_CMD = $(@D)/src/elinks
+COMPONENT_TEST_ARGS = -dump \
+	http://www.cameronmoll.com/mobile/mkp/pg1.html \
+	http://www.cameronmoll.com/mobile/mkp/pg2.html \
+	http://www.cameronmoll.com/mobile/mkp/pg3.html \
+	http://www.cameronmoll.com/mobile/mkp/pg4.html
+COMPONENT_TEST_TARGETS =
+
 ASLR_MODE = $(ASLR_ENABLE)
 
 # common targets
@@ -63,10 +73,7 @@
 
 install:	$(INSTALL_64)
 
-# There is a "test" sub-directory. The README file in there says that this
-# is a directory containing "weird documents", but that there is no automatic
-# test suite yet.
-test:		$(NO_TESTS)
+test:		$(TEST_64)
 
 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/elinks/test/results-64.master	Tue Jan 13 07:55:43 2015 -0800
@@ -0,0 +1,187 @@
+                               Markup Test Page 1
+
+Typography
+
+   --------------------------------------------------------------------------
+
+                                   H1 Heading
+
+H2 Heading
+
+  H3 Heading
+
+    H4 Heading
+
+      H5 Heading
+
+        H6 Heading
+
+   This is a paragraph.
+
+     This is a blockquote.
+
+     This is a cite.
+
+   Strong <strong> and Bold <b>
+
+   Emphasis <em> and Italic <i>
+
+   This is a serif typeface.
+
+   This is a sans-serif typeface.
+
+   Font size 6px
+
+   Font size 8px
+
+   Font size 10px
+
+   Font size 11px
+
+   Font size 12px
+
+   Font size 14px
+
+   Font size 18px
+
+   Font size .5em
+
+   Font size .75em
+
+   Font size .9em
+
+   Font size 1em
+
+   Font size 1.5em
+
+   Font size 2em
+
+   [1]Back to home
+
+   --------------------------------------------------------------------------
+
+   (c) 2006 [2]Cameron Moll.
+
+References
+
+   Visible links
+   1. http://www.cameronmoll.com/mobile/mkp/index.html
+   2. http://www.cameronmoll.com/
+
+
+                               Markup Test Page 2
+
+Lists
+
+   --------------------------------------------------------------------------
+
+     * This is an unordered list <ul>
+     * List item number two.
+
+    1. This is an ordered list <ol>
+    2. List item number two.
+    3. List item number three.
+
+    1. [1]Use keypad 1 to access this link
+    2. [2]Use keypad 2 to access this link
+    3. [3]Use keypad 3 to access this link
+
+   This is a term <dt>
+           This is the definition of that term.
+
+   [4]Back to home
+
+   --------------------------------------------------------------------------
+
+   (c) 2006 [5]Cameron Moll.
+
+References
+
+   Visible links
+   1. http://www.yahoo.com/
+   2. http://www.bbc.co.uk/
+   3. http://mobile.msn.com/
+   4. http://www.cameronmoll.com/mobile/mkp/index.html
+   5. http://www.cameronmoll.com/
+
+
+                               Markup Test Page 3
+
+Images, Tables
+
+   --------------------------------------------------------------------------
+
+   Small image (120x60)
+
+   Medium image (250x60)
+
+   Large image (460x60)
+
+        Two-column table
+   +-------------------------+
+   | Col 1 head | Col 2 head |
+   |------------+------------|
+   | Col 1 data | Col 2 data |
+   +-------------------------+
+
+
+   [1]Back to home
+
+   --------------------------------------------------------------------------
+
+   (c) 2006 [2]Cameron Moll.
+
+References
+
+   Visible links
+   1. http://www.cameronmoll.com/mobile/mkp/index.html
+   2. http://www.cameronmoll.com/
+
+
+                               Markup Test Page 4
+
+Advanced
+
+   --------------------------------------------------------------------------
+
+   Box with a solid border
+
+   Box with a dotted (...) border
+
+   Box with a dashed (- - -) border
+
+   Box with a double (=) border
+
+   Box with solid red background
+
+   Box with background image (slanted blue lines)
+
+   45% float left
+
+   45% float right
+
+               This is center-aligned text (text-align: center).
+
+                              This is right-aligned text (text-align: right).
+
+   This is an ABBR.
+
+   This is an ACRONYM
+
+   This is code.
+
+   This is a del (strike-through).
+
+   Today's date generated with JavaScript: (  )
+
+   [1]Back to home
+
+   --------------------------------------------------------------------------
+
+   (c) 2005 [2]Cameron Moll.
+
+References
+
+   Visible links
+   1. http://www.cameronmoll.com/mobile/mkp/index.html
+   2. http://www.cameronmoll.com/