Commit Graph

251 Commits

Author SHA1 Message Date
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
blagoev 736cbd3ef3 Update object store 2017-08-29 14:51:25 -07:00
Ashwin Phatak 9ab5468d1f Revert "Check if the supported version (10e) of Android NDK is installed"
This reverts commit a3795fdfb0.
2017-08-22 15:49:32 +05:30
Ashwin Phatak a3795fdfb0 Check if the supported version (10e) of Android NDK is installed 2017-08-22 12:48:20 +05:30
Yavor Georgiev 5db836dc8b use newest ROS 2017-08-17 13:02:21 +02:00
Yavor Georgiev c78f82ac0c Update download script for the new core build system 2017-08-17 13:01:41 +02:00
Yavor Georgiev b17dcddd17 use sync 2.0-rc11 2017-08-17 12:56:01 +02:00
Kristian Dupont c24cc16ebf Fix a few publish issues (#1215)
* Stop trying to kill the server twice after testing

* Fix test targets to run before publishing

* ...

* Remove electron runner from publish for now

* Update changelog
2017-08-16 11:11:28 +02:00
Kristian Dupont f55fa10b6b Add environment-check script (#1199)
* Add environment-check script

* Check version without using semver module
2017-08-14 10:30:03 +02:00
Kræn Hansen e4e1431c55 Running js tests in Electron renderer process (#1196)
* First take on running the tests inside an Electron render process

* Making progress

* Making it possible to override the location of the admin token

* Ignoreing the realm-object-server files

* Fixing a console.log to return a string instead of a boolean

But it should probably be removed entirely

* Making the downloaded ROS log less

* Adjusting comments in the test.sh

* Checking number of windows to determine an Electron crash

* Added a test that triggers garbage collection of ArrayBuffers

* Enabled the ability to run the tests in Electrons main process

* Run tests first in main process and the render

* Added a README.md that documents how Electron tests can be run

* Added a comment on why the garbage-collection test was added.

* Waiting with reading the admin token, until it is actually used

* Disabling the GarbageCollectionTests for now
2017-08-11 10:30:57 +02:00
Yavor Georgiev ab29ac4490 Fix linter issues (#1132) 2017-07-10 16:53:00 +02:00