perl.cvs.parrot
[Top] [All Lists]

[svn:parrot] r32133 - in trunk: . languages/pipp/t/in_php

Subject: [svn:parrot] r32133 - in trunk: . languages/pipp/t/in_php
From:
Date: Thu, 23 Oct 2008 08:06:56 -0700 PDT
Newsgroups: perl.cvs.parrot

Author: bernhard
Date: Thu Oct 23 08:06:55 2008
New Revision: 32133

Added:
   trunk/languages/pipp/t/in_php/02_sanity.t
      - copied, changed from r32132, 
/trunk/languages/pipp/t/in_php/01_sea_only.t
Modified:
   trunk/MANIFEST

Log:
[Pipp] add test file for working on a simple testing lib in PHP


Modified: trunk/MANIFEST
==============================================================================
--- trunk/MANIFEST      (original)
+++ trunk/MANIFEST      Thu Oct 23 08:06:55 2008
@@ -1,7 +1,7 @@
 # ex: set ro:
 # $Id$
 #
-# generated by tools/dev/mk_manifest_and_skip.pl Thu Oct 23 13:56:15 2008 UT
+# generated by tools/dev/mk_manifest_and_skip.pl Thu Oct 23 14:47:54 2008 UT
 #
 # See tools/dev/install_files.pl for documentation on the
 # format of this file.
@@ -2356,6 +2356,7 @@
 languages/pipp/src/pmc/phpundef.pmc                         [pipp]
 languages/pipp/t/harness                                    [pipp]
 languages/pipp/t/in_php/01_sea_only.t                       [pipp]
+languages/pipp/t/in_php/02_sanity.t                         [pipp]
 languages/pipp/t/php/arithmetics.t                          [pipp]
 languages/pipp/t/php/array.t                                [pipp]
 languages/pipp/t/php/base64.t                               [pipp]

Copied: trunk/languages/pipp/t/in_php/02_sanity.t (from r32132, 
/trunk/languages/pipp/t/in_php/01_sea_only.t)
==============================================================================
--- /trunk/languages/pipp/t/in_php/01_sea_only.t        (original)
+++ trunk/languages/pipp/t/in_php/02_sanity.t   Thu Oct 23 08:06:55 2008
@@ -1,4 +1,31 @@
-1..3
-ok 1 - dummy 1
-ok 2 - dummy 2
-ok 3 - dummy 3
+<?php
+
+# This file is for checking whether the test functions are working.
+
+function plan() {
+    echo "1..4\n";
+}
+
+function ok() {
+    echo "ok 1 - dummy implemetation of ok()\n";  
+}
+
+function nok() {
+    echo "ok 2 - dummy implemetation of nok()\n";  
+}
+
+function is() {
+    echo "ok 3 - dummy implemetation of is()\n";  
+}
+
+function isnt() {
+    echo "ok 4 - dummy implemetation of isnt()\n";  
+}
+
+plan();
+ok();
+nok();
+is();
+isnt();
+
+?>

<Prev in Thread] Current Thread [Next in Thread>
  • [svn:parrot] r32133 - in trunk: . languages/pipp/t/in_php, bernhard <=