mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-28 19:51:58 +01:00
Add android build on travis (#1981)
* Add build for android in travis CI. * Fix review findings. Change from __ANDORID__ to POCO_ANDROID * Add android test * Fix compile issue after rebase * Ignore test big ping when its failing
This commit is contained in:
committed by
Aleksandar Fabijanic
parent
d162110e67
commit
9feabc7723
@@ -131,6 +131,7 @@ RWLockTest::~RWLockTest()
|
||||
|
||||
void RWLockTest::testLock()
|
||||
{
|
||||
#if defined(ENABLE_LONG_RUNNING_TESTS)
|
||||
RWLock lock;
|
||||
int counter = 0;
|
||||
RWLockRunnable r1(lock, counter);
|
||||
@@ -159,11 +160,13 @@ void RWLockTest::testLock()
|
||||
assert (r3.ok());
|
||||
assert (r4.ok());
|
||||
assert (r5.ok());
|
||||
#endif // defined(ENABLE_LONG_RUNNING_TESTS)
|
||||
}
|
||||
|
||||
|
||||
void RWLockTest::testTryLock()
|
||||
{
|
||||
#if defined(ENABLE_LONG_RUNNING_TESTS)
|
||||
RWLock lock;
|
||||
int counter = 0;
|
||||
RWTryLockRunnable r1(lock, counter);
|
||||
@@ -192,6 +195,7 @@ void RWLockTest::testTryLock()
|
||||
assert (r3.ok());
|
||||
assert (r4.ok());
|
||||
assert (r5.ok());
|
||||
#endif // defined(ENABLE_LONG_RUNNING_TESTS)
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user