Unverified Commit ddc63614 authored by Robert Kimball's avatar Robert Kimball Committed by GitHub

Merge pull request #216 from NervanaSystems/bob/test_cleanup

Bob/test cleanup
parents e6a41237 5c42e2d3
...@@ -77,7 +77,6 @@ set (SRC ...@@ -77,7 +77,6 @@ set (SRC
runtime/tensor_view.cpp runtime/tensor_view.cpp
runtime/tuple.cpp runtime/tuple.cpp
runtime/utils.cpp runtime/utils.cpp
test/all_close.cpp
shape.cpp shape.cpp
types/element_type.cpp types/element_type.cpp
types/type.cpp types/type.cpp
......
...@@ -22,10 +22,8 @@ include_directories( ...@@ -22,10 +22,8 @@ include_directories(
) )
set (SRC set (SRC
autodiff.cpp
build_graph.cpp build_graph.cpp
eigen.cpp eigen.cpp
element_type.cpp
execute.cpp execute.cpp
input_output_assign.cpp input_output_assign.cpp
main.cpp main.cpp
...@@ -35,9 +33,11 @@ set (SRC ...@@ -35,9 +33,11 @@ set (SRC
pass_memory_layout.cpp pass_memory_layout.cpp
shape.cpp shape.cpp
tensor.cpp tensor.cpp
test_tools.cpp
topological_sort.cpp topological_sort.cpp
type_prop.cpp type_prop.cpp
util/all_close.cpp
util/autodiff.cpp
util/test_tools.cpp
util.cpp util.cpp
uuid.cpp uuid.cpp
) )
......
// ----------------------------------------------------------------------------
// Copyright 2017 Nervana Systems Inc.
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// ----------------------------------------------------------------------------
#include <sstream>
#include <string>
#include <vector>
#include "gtest/gtest.h"
#include "ngraph/types/element_type.hpp"
using namespace ngraph;
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#include "ngraph/pass/topological_sort.hpp" #include "ngraph/pass/topological_sort.hpp"
#include "ngraph/pass/visualize_tree.hpp" #include "ngraph/pass/visualize_tree.hpp"
#include "test_tools.hpp" #include "util/test_tools.hpp"
using namespace std; using namespace std;
using namespace ngraph; using namespace ngraph;
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#include "ngraph/pass/propagate_types.hpp" #include "ngraph/pass/propagate_types.hpp"
#include "ngraph/pass/topological_sort.hpp" #include "ngraph/pass/topological_sort.hpp"
#include "ngraph/util.hpp" #include "ngraph/util.hpp"
#include "test_tools.hpp" #include "util/test_tools.hpp"
using namespace ngraph; using namespace ngraph;
using namespace std; using namespace std;
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
#include "ngraph/pass/propagate_types.hpp" #include "ngraph/pass/propagate_types.hpp"
#include "ngraph/pass/topological_sort.hpp" #include "ngraph/pass/topological_sort.hpp"
#include "ngraph/pass/visualize_tree.hpp" #include "ngraph/pass/visualize_tree.hpp"
#include "test_tools.hpp" #include "util/test_tools.hpp"
using namespace ngraph; using namespace ngraph;
using namespace std; using namespace std;
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#include "ngraph/pass/manager.hpp" #include "ngraph/pass/manager.hpp"
#include "ngraph/pass/propagate_types.hpp" #include "ngraph/pass/propagate_types.hpp"
#include "ngraph/pass/topological_sort.hpp" #include "ngraph/pass/topological_sort.hpp"
#include "test_tools.hpp" #include "util/test_tools.hpp"
using namespace std; using namespace std;
using namespace ngraph; using namespace ngraph;
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
#include "ngraph/pass/topological_sort.hpp" #include "ngraph/pass/topological_sort.hpp"
#include "ngraph/pass/visualize_tree.hpp" #include "ngraph/pass/visualize_tree.hpp"
#include "ngraph/util.hpp" #include "ngraph/util.hpp"
#include "test_tools.hpp" #include "util/test_tools.hpp"
using namespace std; using namespace std;
using namespace ngraph; using namespace ngraph;
......
...@@ -19,8 +19,8 @@ ...@@ -19,8 +19,8 @@
#include "gtest/gtest.h" #include "gtest/gtest.h"
#include "ngraph/ngraph.hpp" #include "ngraph/ngraph.hpp"
#include "ngraph/test/all_close.hpp"
#include "ngraph/util.hpp" #include "ngraph/util.hpp"
#include "util/all_close.hpp"
using namespace std; using namespace std;
using namespace ngraph; using namespace ngraph;
......
...@@ -16,8 +16,8 @@ ...@@ -16,8 +16,8 @@
#include <memory> #include <memory>
#include <vector> #include <vector>
#include "all_close.hpp"
#include "ngraph/except.hpp" #include "ngraph/except.hpp"
#include "ngraph/test/all_close.hpp"
template <typename ET> template <typename ET>
bool ngraph::test::all_close( bool ngraph::test::all_close(
......
...@@ -19,12 +19,12 @@ ...@@ -19,12 +19,12 @@
#include "gtest/gtest.h" #include "gtest/gtest.h"
#include "all_close.hpp"
#include "ngraph/autodiff/backprop_derivative.hpp" #include "ngraph/autodiff/backprop_derivative.hpp"
#include "ngraph/autodiff/backprop_function.hpp" #include "ngraph/autodiff/backprop_function.hpp"
#include "ngraph/autodiff/numeric_derivative.hpp" #include "ngraph/autodiff/numeric_derivative.hpp"
#include "ngraph/ngraph.hpp" #include "ngraph/ngraph.hpp"
#include "ngraph/test/all_close.hpp" #include "random.hpp"
#include "ngraph/test/random.hpp"
using namespace std; using namespace std;
using namespace ngraph; using namespace ngraph;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment