source: php/trunk/unittest/rdftestcases/makefile@ 64

Last change on this file since 64 was 64, checked in by cla, 14 years ago

rdfint

  • added code to read list of RDF testcases from RDF data
  • TODO: execution of testcases!
  • Property svn:eol-style set to native
File size: 1.8 KB
Line 
1
2# RDFInt.php - RDF Interfaces for PHP
3# Copyright 2011 netlabs.org
4# Author: Christian Langanke, Adrian Gschwend
5#
6# Licensed under the Apache License, Version 2.0 (the "License");
7# you may not use this file except in compliance with the License.
8# You may obtain a copy of the License at
9#
10# http://www.apache.org/licenses/LICENSE-2.0
11#
12# Unless required by applicable law or agreed to in writing, software
13# distributed under the License is distributed on an "AS IS" BASIS,
14# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15# See the License for the specific language governing permissions and
16# limitations under the License.
17
18# ----- CONFIGURE HERE
19
20# -- test script
21TESTSCRIPT=unittest.php
22
23# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
24
25# determine os dependent values
26ifeq ($(OS), Windows_NT)
27CAT=type
28else
29CAT=cat
30endif
31
32# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
33
34# --- phony targets
35
36.PHONY: help all run list \
37 PositiveParserTest \
38 NegativeParserTest \
39 PositiveEntailmentTest \
40 NegativeEntailmentTest \
41 MiscellaneousTest
42
43# - - - - - - - - - - - - - - - - - -
44
45help:
46 @$(CAT) help.txt
47
48all: run
49
50list:
51 @php action.php list
52
53listverbose:
54 @php action.php listverbose
55
56PositiveParserTest:
57 @make -s CATEGORY=PositiveParserTest run
58
59NegativeParserTest:
60 @echo NegativeParserTest not yet implemented!
61
62PositiveEntailmentTest:
63 @echo PositiveEntailmentTest not yet implemented!
64
65NegativeEntailmentTest:
66 @echo NegativeEntailmentTest not yet implemented!
67
68MiscellaneousTest:
69 @echo MiscellaneousTest not yet implemented!
70
71# - - - - - - - - - - - - - - - - - -
72
73# this target to execute the testcase with symbol TESTCASE set
74run:
75 @echo =====================================
76 @phpunit $(TESTSCRIPT)
Note: See TracBrowser for help on using the repository browser.