URL:
https://svn.lrde.epita.fr/svn/scool/branches/scool-ng
ChangeLog:
2008-09-23 Maxime van Noppen <yabo(a)lrde.epita.fr>
Add reference files for tests on template functions
* check.sh: Remove debug message.
* function/c++_src/call_001.cc: New.
* function/c++_src/call_002.cc: New.
* function/c++_src/call_003.cc: New.
* function/c++_src/call_004.cc: New.
* function/c++_src/call_005.cc: New.
* function/c++_src/call_006.cc: New.
check.sh | 1 -
function/c++_src/call_001.cc | 4 ++++
function/c++_src/call_002.cc | 4 ++++
function/c++_src/call_003.cc | 4 ++++
function/c++_src/call_004.cc | 4 ++++
function/c++_src/call_005.cc | 4 ++++
function/c++_src/call_006.cc | 4 ++++
7 files changed, 24 insertions(+), 1 deletion(-)
Index: branches/scool-ng/tests/function/c++_src/call_001.cc
===================================================================
--- branches/scool-ng/tests/function/c++_src/call_001.cc (revision 0)
+++ branches/scool-ng/tests/function/c++_src/call_001.cc (revision 93)
@@ -0,0 +1,4 @@
+void doit()
+{
+ foo();
+}
Index: branches/scool-ng/tests/function/c++_src/call_002.cc
===================================================================
--- branches/scool-ng/tests/function/c++_src/call_002.cc (revision 0)
+++ branches/scool-ng/tests/function/c++_src/call_002.cc (revision 93)
@@ -0,0 +1,4 @@
+void doit()
+{
+ foo(42);
+}
Index: branches/scool-ng/tests/function/c++_src/call_003.cc
===================================================================
--- branches/scool-ng/tests/function/c++_src/call_003.cc (revision 0)
+++ branches/scool-ng/tests/function/c++_src/call_003.cc (revision 93)
@@ -0,0 +1,4 @@
+void doit()
+{
+ foo(bar, 42);
+}
Index: branches/scool-ng/tests/function/c++_src/call_004.cc
===================================================================
--- branches/scool-ng/tests/function/c++_src/call_004.cc (revision 0)
+++ branches/scool-ng/tests/function/c++_src/call_004.cc (revision 93)
@@ -0,0 +1,4 @@
+void doit()
+{
+ foo< int >();
+}
Index: branches/scool-ng/tests/function/c++_src/call_005.cc
===================================================================
--- branches/scool-ng/tests/function/c++_src/call_005.cc (revision 0)
+++ branches/scool-ng/tests/function/c++_src/call_005.cc (revision 93)
@@ -0,0 +1,4 @@
+void doit()
+{
+ foo< 42 >();
+}
Index: branches/scool-ng/tests/function/c++_src/call_006.cc
===================================================================
--- branches/scool-ng/tests/function/c++_src/call_006.cc (revision 0)
+++ branches/scool-ng/tests/function/c++_src/call_006.cc (revision 93)
@@ -0,0 +1,4 @@
+void doit()
+{
+ foo< int, 42 >(42);
+}
Index: branches/scool-ng/tests/check.sh
===================================================================
--- branches/scool-ng/tests/check.sh (revision 92)
+++ branches/scool-ng/tests/check.sh (revision 93)
@@ -266,7 +266,6 @@
-t)
shift
tests="$1"
- echo "XTEST: " $1
;;
-h | --help)
--
\__/ \__/
(00) Maxime `yabo` van Noppen (00)
___) \ Epita 2009 / (___
(_____/ \_____)