Commit Graph

261 Commits

Author SHA1 Message Date
blagoev 97d695d615 fix android test app build and the script for android tests
address review comments
2017-12-14 12:17:49 +02:00
blagoev 72cb0d845e fix RealmExample app to use the new RN navigation 2017-12-13 18:36:10 +02:00
blagoev 18a63d6f79 allow multiple test applications to be run (identified by application scheme.) 2017-12-06 14:43:02 +02:00
blagoev b842d07726 remove explict ROS uninstall 2017-12-05 14:46:41 +02:00
blagoev 7e8b7d7bab upgrade RN in test app + fix simulators handling + fix test app to run tests immediatelly and exit afterwards 2017-12-04 15:56:42 +02:00
Kenneth Geisshirt 66d02b3e4e Don't download of sync during testing 2017-11-22 18:05:26 +02:00
Kenneth Geisshirt 906a9dc34e Download core/sync when testing 2017-11-22 18:05:26 +02:00
Kenneth Geisshirt cc515a6a60 Updating to RN 0.50.3. 2017-11-22 18:05:26 +02:00
blagoev 87166aefa2
fix env variable name 2017-11-14 11:43:02 +02:00
blagoev 504782e46c
fix env variable name 2017-11-14 11:42:31 +02:00
Thomas Goyne 4711f1c602 Define the die() function used in test.sh 2017-10-30 12:57:45 -07:00
Thomas Goyne 97ed1db18e Fix eslint errors 2017-10-30 12:55:50 -07:00
rh389 345d81dad9 Change vocabulary desired/manifest -> required/lockfile.
Change appenders to getters.
2017-10-24 13:29:04 +01:00
rh389 a5eed7297b Tidy up shouldSkipAcquire, skip manifest check on --force 2017-10-24 13:05:42 +01:00
rh389 410db7da3c Add a .manifest.list to target. Skip download/extract if target manifest matches. 2017-10-24 02:49:41 +01:00
blagoev 9dad53dd88 latest ros 2.0 compat 2017-10-16 18:14:15 +03:00
blagoev b684ea8087 fix latest ros compat 2017-10-16 17:56:27 +03:00
Yavor Georgiev 308e7fe548
fix download-realm to account for lightweight tags 2017-10-12 19:19:06 +02:00
Yavor Georgiev 2ac8160b32
Merge branch 'master' of github.com:realm/realm-js into yg/windows-sync
# Conflicts:
#	binding.gyp
#	src/object-store
2017-10-12 12:52:47 +02:00
Yavor Georgiev 4fb5a31c3b
Only require decompress-tarxz when needed 2017-09-30 16:35:46 +02:00
Kenneth Geisshirt e109e32ac4 Merge branch 'master' of github.com:realm/realm-js into kneth/master-to-2.0.x 2017-09-30 09:55:14 +02:00
Yavor Georgiev 507556d1b8
Merge branch '2.0.x' of github.com:realm/realm-js into yg/windows-sync
# Conflicts:
#	src/RealmJS.xcodeproj/project.pbxproj
2017-09-29 16:22:18 +02:00
blagoev 7e048a9bee Merge pull request #1338 from realm/fix-accountInfo-2.0
Fix account info 2.0
2017-09-28 10:08:47 +03:00
Kenneth Geisshirt 20defad505 Merge branch '2.0.x' of github.com:realm/realm-js into fix-accountInfo-2.0 2017-09-27 10:01:20 +02:00
Thomas Goyne fdfd89e7e7 Fix nil message send when no simulators are booted 2017-09-26 12:23:10 -07:00
Thomas Goyne d278649fee Extract the ruby script for finding iOS simulators to a separate file 2017-09-26 12:23:10 -07:00
Yavor Georgiev 3ddf1eae19
fix paths 2017-09-26 15:32:26 +02:00
Yavor Georgiev f6732c4b58
Sync for Windows 2017-09-26 15:08:26 +02:00
Thomas Goyne 2298609ce5 Merge remote-tracking branch 'origin/master' into tg/merge-master-to-2.0.x
* origin/master: (23 commits)
  Fix api doc error
  fix progress notifications registrations
  Fix typo in Github issue template
  Fix port conflict between RN >= 0.48 and RPC server (#1294)
  Disable testAddListener when running in chrome
  Ensure RN has an event loop running for async tests
  Make permission tests better handle server delays
  Fix race conditions in testAddListener
  Separate build and test steps in xcode to reduce chance of hitting "Early unexpected exit"
  Ignore errors when sourcing nvm.sh
  Don't forward arguments to nvh.sh
  Skip sourcing nvm.sh if it's already available
  Fix some shellcheck warnings
  Ensure node 6.5.0 is installed on CI
  Build realm from source for each test-runner test
  Improve error reporting for incorrect argument counts for Realm methods
  Use the same error messages in the RPC code as the regular code
  Silence an unused variable warning when building with sync disabled
  Check the exception message in all Realm tests which assert an exception is thrown
  Don't discard the actual error message in validated_get_X
  ...
2017-09-25 09:40:56 -07:00
blagoev 1a538ffa94 Enable ROS 2.0 download 2017-09-22 20:09:45 +03:00
blagoev 988a86ff19 ignore kill process errors 2017-09-21 16:12:43 +03:00
blagoev 3f7e693a26 Download ROS 2.0 from npm for testing
disabled permissions and account tests
2017-09-21 02:22:49 +03:00
Thomas Goyne 1490285483 Skip running tests against ROS until they are updated for 2.0 2017-09-21 02:09:05 +03:00
Thomas Goyne f3f51ece76 Separate build and test steps in xcode to reduce chance of hitting "Early unexpected exit" 2017-09-18 22:32:41 -07:00
Thomas Goyne d04a45b8d1 Ignore errors when sourcing nvm.sh
It fails spuriously if it fails to understand the version of system node.
2017-09-18 21:34:34 -07:00
Thomas Goyne e1f3cd638f Don't forward arguments to nvh.sh 2017-09-18 21:34:34 -07:00
Thomas Goyne 5189915980 Skip sourcing nvm.sh if it's already available 2017-09-18 16:23:35 -07:00
Thomas Goyne ada601354c Fix some shellcheck warnings 2017-09-18 16:07:07 -07:00
Thomas Goyne 604968a987 Ensure node 6.5.0 is installed on CI 2017-09-18 12:20:09 -07:00
Thomas Goyne 70739d632b Build realm from source for each test-runner test
Without this node-pre-gyp will instead download the prebuilt binary and test
that, and I couldn't find a way to persuade node-pre-gyp to "download" the
locally built copy.
2017-09-18 11:58:37 -07:00
Kenneth Geisshirt 1184fc2c0b Merge branch 'tg/update-object-store' of github.com:realm/realm-js into 2.0.x 2017-09-18 09:46:49 +02:00
Kenneth Geisshirt eeb78d8e1b Merge branch 'master' of github.com:realm/realm-js into 2.0.x 2017-09-18 09:46:36 +02:00
blagoev b85e27588f Disable verbose ROS output by default 2017-09-11 15:50:44 +03:00
Thomas Goyne 942643911d Ensure node 6.5.0 is installed for react-native tests 2017-09-08 11:40:56 -07:00
Kenneth Geisshirt 356033a8c4 Merge branch 'tg/update-object-store' of github.com:realm/realm-js into 2.0.x 2017-09-08 14:56:01 +02:00
Kenneth Geisshirt fa0016ba6b Merge branch 'master' of github.com:realm/realm-js into 2.0.x 2017-09-08 14:54:56 +02:00
Thomas Goyne acf7b4d6cc Update to core 3.1/sync rc18 2017-09-07 16:50:51 -07:00
Thomas Goyne 2185442f41 Link against static core/sync for node
The CMake packaging added shared libraries to the node release package, but the
build system isn't set up to work with them so just go back to using the static
libraries.
2017-09-01 17:27:26 -07:00
Thomas Goyne dd2d98a9e0 Fix downloading the prebuilt core for ios 2017-08-31 14:38:19 -07:00
Kristian Dupont 7284caf1ac Move publish testing to "test.sh all" (#1265)
* Move publish testing to "test.sh all"

* Minor fixes
2017-08-30 13:09:40 +02:00