Enable manual tests in CI:

Fixes: RIPD-1575. Fix argument passing to runner. Allow multiple unit
test selectors to be passed via --unittest argument. Add optional
integer priority value to test suite list. Fix several failing manual
tests. Update CLI usage message to make it clearer.
This commit is contained in:
Mike Ellery
2018-05-08 08:46:31 -07:00
committed by seelabs
parent 95eb5e1862
commit cfdc64d7cf
25 changed files with 243 additions and 100 deletions

View File

@@ -83,14 +83,16 @@ private:
beast::xor_shift_engine gen_;
std::uint8_t prefix_;
std::uniform_int_distribution<std::uint32_t> d_type_;
std::discrete_distribution<std::uint32_t> d_type_;
std::uniform_int_distribution<std::uint32_t> d_size_;
public:
explicit
Sequence(std::uint8_t prefix)
: prefix_ (prefix)
, d_type_ (hotLEDGER, hotTRANSACTION_NODE)
// uniform distribution over hotLEDGER - hotTRANSACTION_NODE
// but exclude hotTRANSACTION = 2 (removed)
, d_type_ ({1, 1, 0, 1, 1})
, d_size_ (minSize, maxSize)
{
}
@@ -744,7 +746,7 @@ public:
}
};
BEAST_DEFINE_TESTSUITE_MANUAL(Timing,NodeStore,ripple);
BEAST_DEFINE_TESTSUITE_MANUAL_PRIO(Timing,NodeStore,ripple,1);
}
}

View File

@@ -585,7 +585,7 @@ public:
}
};
BEAST_DEFINE_TESTSUITE(import,NodeStore,ripple);
BEAST_DEFINE_TESTSUITE_MANUAL(import,NodeStore,ripple);
#endif