From c364beb9a21f66b2ff2e4361364fbbea1c45af05 Mon Sep 17 00:00:00 2001 From: Guido Kanschat Date: Thu, 29 Mar 2001 17:05:25 +0000 Subject: [PATCH] added missing $(LIBS) fixed tensor.checked git-svn-id: https://svn.dealii.org/trunk@4338 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/base/Makefile.in | 14 +++++++------- tests/base/tensor.cc | 4 +--- tests/base/tensor.checked | 2 -- 3 files changed, 8 insertions(+), 12 deletions(-) diff --git a/tests/base/Makefile.in b/tests/base/Makefile.in index 75993d0de7..170f83c071 100644 --- a/tests/base/Makefile.in +++ b/tests/base/Makefile.in @@ -89,7 +89,7 @@ endif logtest.testcase: $(logtest-o-files) $(libraries) @echo =====linking======= $< - @$(CXX) $(LDFLAGS) $(flags) -o $@ $^ + @$(CXX) $(LDFLAGS) $(flags) -o $@ $^ $(LIBS) ############################################################ @@ -105,7 +105,7 @@ endif tensor.testcase: $(tensor-o-files) $(libraries) @echo =====linking======= $< - @$(CXX) $(LDFLAGS) $(flags) -o $@ $^ + @$(CXX) $(LDFLAGS) $(flags) -o $@ $^ $(LIBS) @@ -122,7 +122,7 @@ endif reference.testcase: $(reference-o-files) $(libraries) @echo =====linking======= $< - @$(CXX) $(LDFLAGS) $(flags) -o $@ $^ + @$(CXX) $(LDFLAGS) $(flags) -o $@ $^ $(LIBS) ############################################################ @@ -138,7 +138,7 @@ endif quadrature_test.testcase: $(quadrature_test-o-files) $(libraries) @echo =====linking======= $< - @$(CXX) $(LDFLAGS) $(flags) -o $@ $^ + @$(CXX) $(LDFLAGS) $(flags) -o $@ $^ $(LIBS) ############################################################ @@ -154,7 +154,7 @@ endif timer.testcase: $(timer-o-files) $(libraries) @echo =====linking======= $< - @$(CXX) $(LDFLAGS) $(flags) -o $@ $^ + @$(CXX) $(LDFLAGS) $(flags) -o $@ $^ $(LIBS) ############################################################ @@ -170,7 +170,7 @@ endif polynomial_test.testcase: $(polynomial_test-o-files) $(libraries) @echo =====linking======= $< - @$(CXX) $(LDFLAGS) $(flags) -o $@ $^ + @$(CXX) $(LDFLAGS) $(flags) -o $@ $^ $(LIBS) ############################################################ @@ -188,7 +188,7 @@ endif target1: $(target1-o-files) $(libraries) @echo =====linking======= $< - @$(CXX) $(LDFLAGS) $(flags) -o $@ $^ + @$(CXX) $(LDFLAGS) $(flags) -o $@ $^ $(LIBS) include ../Makefile.rules include Makefile.depend diff --git a/tests/base/tensor.cc b/tests/base/tensor.cc index 9788f05a43..862152c124 100644 --- a/tests/base/tensor.cc +++ b/tests/base/tensor.cc @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 1998, 1999, 2000 by the deal.II authors +// Copyright (C) 1998, 1999, 2000, 2001 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -48,7 +48,6 @@ int main () deallog << t[i][j] << ' '; deallog << std::endl; }; - deallog << std::endl; contract (tt,t,t); @@ -59,7 +58,6 @@ int main () deallog << tt[i][j] << ' '; deallog << std::endl; }; - deallog << std::endl; if (true) { diff --git a/tests/base/tensor.checked b/tests/base/tensor.checked index b09361feaa..5eaa7345bb 100644 --- a/tests/base/tensor.checked +++ b/tests/base/tensor.checked @@ -4,12 +4,10 @@ DEAL::t= DEAL::1.00 2.00 3.00 DEAL::3.00 4.00 5.00 DEAL::6.00 7.00 8.00 -DEAL:: DEAL::tt= DEAL::25.0 31.0 37.0 DEAL::45.0 57.0 69.0 DEAL::75.0 96.0 117. -DEAL:: DEAL:Cross product:: 0.00 0.00 1.00 DEAL:Cross product:: 1.00 0.00 0.00 DEAL:Cross product:: 0.00 1.00 0.00 -- 2.39.5