| … | … | @@ -79,7 +79,7 @@ ADD_SUBDIRECTORY(opencog) |
| 79 | 79 | IF (CXXTEST_FOUND) |
| 80 | 80 | ADD_CUSTOM_TARGET(tests) |
| 81 | 81 | ADD_SUBDIRECTORY(tests EXCLUDE_FROM_ALL) |
| 82 | ADD_CUSTOM_TARGET(test | |
| 82 | ADD_CUSTOM_TARGET(check | |
| 83 | 83 | DEPENDS tests |
| 84 | 84 | WORKING_DIRECTORY tests |
| 85 | 85 | COMMAND ${CMAKE_CTEST_COMMAND} --force-new-ctest-process --output-on-failure $(ARGS) |
| … | … | @@ -67,7 +67,7 @@ public: |
| 67 | 67 | HandleSeq joints(const Handle&) const; |
| 68 | 68 | |
| 69 | 69 | void add_to_lexis(const Handle&); |
| 70 | void add_to_lexis(const HandleSet& lex) { | |
| 70 | void add_to_lexis(const UnorderedHandleSet& lex) { | |
| 71 | 71 | for (const Handle& h: lex) add_to_lexis(h); |
| 72 | 72 | } |
| 73 | 73 | // void sort_lexis(const Handle&); |
| … | … | @@ -23,6 +23,7 @@ |
| 23 | 23 | #include <uuid/uuid.h> |
| 24 | 24 | |
| 25 | 25 | #include <opencog/atoms/base/Link.h> |
| 26 | #include <opencog/atoms/value/FloatValue.h> | |
| 26 | 27 | |
| 27 | 28 | #include "RandomCallback.h" |
| 28 | 29 |
| … | … | @@ -100,7 +100,7 @@ void AggregationUTest::setup_dict() |
| 100 | 100 | dict->add_pole_pair(minus, plus); |
| 101 | 101 | |
| 102 | 102 | // The lexis to use |
| 103 | HandleSet lex; | |
| 103 | UnorderedHandleSet lex; | |
| 104 | 104 | as->get_handles_by_type(lex, SECTION); |
| 105 | 105 | dict->add_to_lexis(lex); |
| 106 | 106 | } |
| … | … | @@ -91,7 +91,7 @@ void BasicNetworkUTest::setup_dict() |
| 91 | 91 | dict->add_pole_pair(any, any); |
| 92 | 92 | |
| 93 | 93 | // The lexis to use XXX we should generate not read from file. |
| 94 | HandleSet lex; | |
| 94 | UnorderedHandleSet lex; | |
| 95 | 95 | as->get_handles_by_type(lex, SECTION); |
| 96 | 96 | dict->add_to_lexis(lex); |
| 97 | 97 | } |
| … | … | @@ -88,7 +88,7 @@ void GraphUTest::setup_dict() |
| 88 | 88 | dict->add_pole_pair(any, any); |
| 89 | 89 | |
| 90 | 90 | // The lexis to use XXX we should generate not read from file. |
| 91 | HandleSet lex; | |
| 91 | UnorderedHandleSet lex; | |
| 92 | 92 | as->get_handles_by_type(lex, SECTION); |
| 93 | 93 | dict->add_to_lexis(lex); |
| 94 | 94 | } |