diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5600289ad3..913b1bf371 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -327,15 +327,15 @@ jobs: - name: Run tests if: runner.os != 'Windows' - run: node scripts/ciTest.js -all + run: node scripts/test.js -all - name: Run gentype tests if: runner.os != 'Windows' - run: make -C jscomp/gentype_tests/typescript-react-example clean test + run: make -C tests/gentype_tests/typescript-react-example clean test - name: Run tests (Windows) if: runner.os == 'Windows' - run: node scripts/ciTest.js -mocha -theme -format + run: node scripts/test.js -mocha -theme -format - name: Build playground compiler if: matrix.build_playground diff --git a/.gitignore b/.gitignore index 862159ef35..d59f93b0e9 100644 --- a/.gitignore +++ b/.gitignore @@ -51,27 +51,8 @@ coverage .ninja_log .bsdeps .bsbuild -lib/prebuilt.ninja -lib/release.ninja -lib/build.ninja -lib/copy.ninja -jscomp/release.ninja -jscomp/build.ninja -jscomp/compiler.ninja -jscomp/runtime/build.ninja -jscomp/others/build.ninja -jscomp/stdlib-406/build.ninja -jscomp/napkin.ninja -jscomp/compilerEnv.ninja -env.ninja -jscomp/cppoVendor.ninja -jscomp/cppoEnv.ninja -jscomp/bin/bsb -jscomp/bin/bsc lib/ocaml -lib/bs -lib/js/jscomp/test -jscomp/build_tests/*/lib/ +tests/build_tests/*/lib/ #ignore temporary directory *.goog.js *.jsoo.js diff --git a/.istanbul.yml b/.istanbul.yml index af1913b49b..5678f97290 100644 --- a/.istanbul.yml +++ b/.istanbul.yml @@ -4,7 +4,7 @@ instrumentation: extensions: - .js default-excludes: false - excludes: ["**/node_modules/**", "jscomp/test/**"] + excludes: ["**/node_modules/**", "tests/tests/**"] embed-source: false variable: __coverage__ compact: true diff --git a/CHANGELOG.md b/CHANGELOG.md index 3aedb09947..5574b75c31 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -43,6 +43,7 @@ - Remove uncurried flag from bsb. https://github.com/rescript-lang/rescript-compiler/pull/7049 - Build runtime/stdlib files with rescript/bsb instead of ninja.js. https://github.com/rescript-lang/rescript-compiler/pull/7063 +- Build tests with bsb and move them out of jscomp. https://github.com/rescript-lang/rescript-compiler/pull/7068 # 12.0.0-alpha.3 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d5f4785b1d..85b423f686 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -146,18 +146,18 @@ make test **Run Mocha tests only (for our runtime code):** -This will run our `mocha` unit test suite defined in `jscomp/test`. +This will run our `mocha` unit test suite defined in `tests/tests`. ``` -node scripts/ciTest.js -mocha +node scripts/test.js -mocha ``` **Run build system test (integration tests):** -This will run the whole build system test suite defined in `jscomp/build_tests`. +This will run the whole build system test suite defined in `tests/build_tests`. ``` -node scripts/ciTest.js -bsb +node scripts/test.js -bsb ``` **Run ounit tests:** @@ -165,7 +165,7 @@ node scripts/ciTest.js -bsb This will run unit tests for compiler related modules. The tests can be found in `jscomp/ounit_tests`. ``` -node scripts/ciTest.js -ounit +node scripts/test.js -ounit ``` ## Contributing to the Runtime diff --git a/Makefile b/Makefile index 16e5cdd169..1703710148 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,7 @@ node_modules/.bin/semver: npm install test: lib - node scripts/ciTest.js -all + node scripts/test.js -all test-syntax: bash ./scripts/test_syntax.sh @@ -43,7 +43,7 @@ test-syntax-roundtrip: bash ./scripts/testok.sh test-gentype: - make -C jscomp/gentype_tests/typescript-react-example clean test + make -C tests/gentype_tests/typescript-react-example clean test test-all: test test-gentype @@ -79,7 +79,7 @@ checkformat: bash scripts/format_check.sh clean-gentype: - make -C jscomp/gentype_tests/typescript-react-example clean + make -C tests/gentype_tests/typescript-react-example clean clean-rewatch: cargo clean --manifest-path rewatch/Cargo.toml && rm -f rewatch/rewatch diff --git a/biome.json b/biome.json index c5e429052d..d0163d504c 100644 --- a/biome.json +++ b/biome.json @@ -21,9 +21,9 @@ "lineWidth": 80, "attributePosition": "auto", "ignore": [ - "jscomp/build_tests/**/lib/**", - "jscomp/build_tests/**/src/**", - "jscomp/test/**", + "tests/build_tests/**", + "tests/tests/**", + "tests/tests_esmodule/**", "lib/**", "ninja/**", "playground/**", diff --git a/bsconfig.json b/bsconfig.json deleted file mode 100644 index 7713a217f9..0000000000 --- a/bsconfig.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "bs-platform", - "version": "7.0.0", - "sources": { - "dir": "jscomp/test/" - } -} diff --git a/jscomp/bsb/bsb_package_specs.ml b/jscomp/bsb/bsb_package_specs.ml index bcb88c90ac..9f6085f1c8 100644 --- a/jscomp/bsb/bsb_package_specs.ml +++ b/jscomp/bsb/bsb_package_specs.ml @@ -131,10 +131,6 @@ let bs_package_output = "-bs-package-output" [@@@warning "+9"] -(* Assume input is valid - coordinate with command line flag - {[ -bs-package-output commonjs:lib/js/jscomp/test:.js ]} -*) let package_flag ({ format; in_source; suffix } : Bsb_spec_set.spec) dir = Ext_string.inter2 bs_package_output (Ext_string.concat5 (string_of_format format) Ext_string.single_colon diff --git a/jscomp/bsb/bsb_package_specs.mli b/jscomp/bsb/bsb_package_specs.mli index a5c575ee8f..f797dd7878 100644 --- a/jscomp/bsb/bsb_package_specs.mli +++ b/jscomp/bsb/bsb_package_specs.mli @@ -29,9 +29,6 @@ val from_map : cwd:string -> Ext_json_types.t Map_string.t -> t val get_list_of_output_js : t -> string -> string list val package_flag_of_package_specs : t -> dirname:string -> string -(** - Sample output: {[ -bs-package-output commonjs:lib/js/jscomp/test]} -*) (* used to ensure each dir does exist *) val list_dirs_by : t -> (string -> unit) -> unit diff --git a/jscomp/bsb_helper/bsb_helper_depfile_gen.ml b/jscomp/bsb_helper/bsb_helper_depfile_gen.ml index f91854eb1b..0c70fa65df 100644 --- a/jscomp/bsb_helper/bsb_helper_depfile_gen.ml +++ b/jscomp/bsb_helper/bsb_helper_depfile_gen.ml @@ -106,7 +106,7 @@ let oc_cmi buf namespace source = When ns is turned on, `B` is interprted as `Ns-B` which is a cyclic dependency, it can be errored out earlier - #5368: It turns out there are many false positives on detecting self-cycles (see: `jscomp/build_tests/zerocycle`) + #5368: It turns out there are many false positives on detecting self-cycles (see: `tests/build_tests/zerocycle`) To properly solve this, we would need to `jscomp/ml/depend.ml` because cmi and cmj is broken in the first place (same problem as in ocaml/ocaml#4618). So we will just ignore the self-cycles. Even if there is indeed a self-cycle, it should fail to compile anyway. diff --git a/jscomp/bsc/rescript_compiler_main.ml b/jscomp/bsc/rescript_compiler_main.ml index 16e927f42b..542c248da9 100644 --- a/jscomp/bsc/rescript_compiler_main.ml +++ b/jscomp/bsc/rescript_compiler_main.ml @@ -438,9 +438,7 @@ let buckle_script_flags : (string * Bsc_args.spec * string) array = "-runtime",string_call setup_runtime_path, "*internal* Set the runtime directory"; "-make-runtime", unit_call Js_packages_state.make_runtime, - "*internal* make runtime library"; - "-make-runtime-test", unit_call Js_packages_state.make_runtime_test, - "*internal* make runtime test library"; + "*internal* make runtime library"; |] diff --git a/jscomp/build_tests/scoped_ppx/.gitignore b/jscomp/build_tests/scoped_ppx/.gitignore deleted file mode 100644 index c476e05628..0000000000 --- a/jscomp/build_tests/scoped_ppx/.gitignore +++ /dev/null @@ -1 +0,0 @@ -.merlin \ No newline at end of file diff --git a/jscomp/build_tests/super_errors/README.md b/jscomp/build_tests/super_errors/README.md deleted file mode 100644 index b0c6191de9..0000000000 --- a/jscomp/build_tests/super_errors/README.md +++ /dev/null @@ -1,5 +0,0 @@ -Special tests for super errors (the pretty error display). - -Follow CONTRIBUTING.md and build the project, then run `node ./jscomp/build_tests/super_errors/input.js` at the root of the project to check the tests against previous snapshots. - -Run `node ./jscomp/build_tests/super_errors/input.js update` to update the snapshots (assuming you've made some changes to super errors' display and/or messages). diff --git a/jscomp/build_tests/transitive_pinned_dependency1/.gitignore b/jscomp/build_tests/transitive_pinned_dependency1/.gitignore deleted file mode 100644 index 7951405f85..0000000000 --- a/jscomp/build_tests/transitive_pinned_dependency1/.gitignore +++ /dev/null @@ -1 +0,0 @@ -lib \ No newline at end of file diff --git a/jscomp/build_tests/transitive_pinned_dependency2/.gitignore b/jscomp/build_tests/transitive_pinned_dependency2/.gitignore deleted file mode 100644 index 7951405f85..0000000000 --- a/jscomp/build_tests/transitive_pinned_dependency2/.gitignore +++ /dev/null @@ -1 +0,0 @@ -lib \ No newline at end of file diff --git a/jscomp/core/js_dump_program.ml b/jscomp/core/js_dump_program.ml index ce80e210c5..1d9ab3e092 100644 --- a/jscomp/core/js_dump_program.ml +++ b/jscomp/core/js_dump_program.ml @@ -101,13 +101,6 @@ let es6_program ~output_dir fmt f (x : J.deps_program) = let cxt = Js_dump.statements true cxt f x.program.block in Js_dump_import_export.es6_export cxt f x.program.exports -(** Make sure github linguist happy - {[ - require('Linguist') - Linguist::FileBlob.new('jscomp/test/test_u.js').generated? - ]} -*) - let pp_deps_program ~(output_prefix : string) (kind : Js_packages_info.module_system) (program : J.deps_program) (f : Ext_pp.t) = diff --git a/jscomp/core/js_packages_info.ml b/jscomp/core/js_packages_info.ml index 64a01e8249..b3fe0190d6 100644 --- a/jscomp/core/js_packages_info.ml +++ b/jscomp/core/js_packages_info.ml @@ -66,11 +66,6 @@ let runtime_package_specs : t = ]; } -(** - populated by the command line -*) -let runtime_test_package_specs : t = { name = Pkg_runtime; module_systems = [] } - let same_package_by_name (x : t) (y : t) = match x.name with | Pkg_empty -> y.name = Pkg_empty diff --git a/jscomp/core/js_packages_info.mli b/jscomp/core/js_packages_info.mli index 93beccd1ee..2a9e8f78fa 100644 --- a/jscomp/core/js_packages_info.mli +++ b/jscomp/core/js_packages_info.mli @@ -38,8 +38,6 @@ type t val runtime_package_specs : t -val runtime_test_package_specs : t - val is_runtime_package : t -> bool val same_package_by_name : t -> t -> bool diff --git a/jscomp/core/js_packages_state.ml b/jscomp/core/js_packages_state.ml index b76b280e34..e511af8478 100644 --- a/jscomp/core/js_packages_state.ml +++ b/jscomp/core/js_packages_state.ml @@ -34,9 +34,6 @@ let make_runtime () : unit = make_runtime := true; packages_info := Js_packages_info.runtime_package_specs -let make_runtime_test () : unit = - packages_info := Js_packages_info.runtime_test_package_specs - let set_package_map module_name = (* set_package_name name ; let module_name = Ext_namespace.namespace_of_package_name name in *) diff --git a/jscomp/core/js_packages_state.mli b/jscomp/core/js_packages_state.mli index 8062c7c79a..ee0c754a73 100644 --- a/jscomp/core/js_packages_state.mli +++ b/jscomp/core/js_packages_state.mli @@ -26,8 +26,6 @@ val set_package_name : string -> unit val make_runtime : unit -> unit -val make_runtime_test : unit -> unit - val set_package_map : string -> unit val get_packages_info : unit -> Js_packages_info.t diff --git a/jscomp/test/ImportAttributes.js b/jscomp/test/ImportAttributes.js deleted file mode 100644 index 2c8425718d..0000000000 --- a/jscomp/test/ImportAttributes.js +++ /dev/null @@ -1,17 +0,0 @@ -// Generated by ReScript, PLEASE EDIT WITH CARE -'use strict'; - -let MyCssCss = require("./myCss.css"); -let MyJsonJson = require("./myJson.json").default; - -let myJson = MyJsonJson; - -console.log(myJson); - -let buttonCss = MyCssCss.button; - -console.log(buttonCss); - -exports.myJson = myJson; -exports.buttonCss = buttonCss; -/* myJson Not a pure module */ diff --git a/jscomp/test/acyc/a0_a1.js b/jscomp/test/acyc/a0_a1.js deleted file mode 100644 index 4346cd05e4..0000000000 --- a/jscomp/test/acyc/a0_a1.js +++ /dev/null @@ -1,7 +0,0 @@ -'use strict'; - - -var v = 3; - -exports.v = v; -/* No side effect */ diff --git a/jscomp/test/acyc/a1_a2.js b/jscomp/test/acyc/a1_a2.js deleted file mode 100644 index b625a9389d..0000000000 --- a/jscomp/test/acyc/a1_a2.js +++ /dev/null @@ -1,8 +0,0 @@ -'use strict'; - -var A0_a1 = require("./a0_a1"); - -var v = A0_a1.v; - -exports.v = v; -/* No side effect */ diff --git a/jscomp/test/acyc/a2_a3.js b/jscomp/test/acyc/a2_a3.js deleted file mode 100644 index 7ec1353f2e..0000000000 --- a/jscomp/test/acyc/a2_a3.js +++ /dev/null @@ -1,8 +0,0 @@ -'use strict'; - -var A1_a2 = require("./a1_a2"); - -var v = A1_a2.v; - -exports.v = v; -/* No side effect */ diff --git a/jscomp/test/acyc/a3_a4.js b/jscomp/test/acyc/a3_a4.js deleted file mode 100644 index 8102cb39bd..0000000000 --- a/jscomp/test/acyc/a3_a4.js +++ /dev/null @@ -1,8 +0,0 @@ -'use strict'; - -var A2_a3 = require("./a2_a3"); - -var v = A2_a3.v; - -exports.v = v; -/* No side effect */ diff --git a/jscomp/test/acyc/a4_a5.js b/jscomp/test/acyc/a4_a5.js deleted file mode 100644 index 771870f64f..0000000000 --- a/jscomp/test/acyc/a4_a5.js +++ /dev/null @@ -1,10 +0,0 @@ -'use strict'; - -var A3_a4 = require("./a3_a4"); - -console.log(A3_a4.v); - -var v = A3_a4.v; - -exports.v = v; -/* Not a pure module */ diff --git a/jscomp/test/acyc/x.js b/jscomp/test/acyc/x.js deleted file mode 100644 index 022e54a040..0000000000 --- a/jscomp/test/acyc/x.js +++ /dev/null @@ -1,21 +0,0 @@ -'use strict'; - - -var A0_a1 = /* module */[/* v */3]; - -var A1_a2 = /* module */[/* v */3]; - -var A2_a3 = /* module */[/* v */3]; - -var A3_a4 = /* module */[/* v */3]; - -console.log(3); - -var A4_a5 = /* module */[/* v */3]; - -exports.A0_a1 = A0_a1; -exports.A1_a2 = A1_a2; -exports.A2_a3 = A2_a3; -exports.A3_a4 = A3_a4; -exports.A4_a5 = A4_a5; -/* Not a pure module */ diff --git a/jscomp/test/build.ninja b/jscomp/test/build.ninja deleted file mode 100644 index db4def6feb..0000000000 --- a/jscomp/test/build.ninja +++ /dev/null @@ -1,627 +0,0 @@ - -bsc_flags = -bs-cross-module-opt -make-runtime-test -bs-package-output commonjs:jscomp/test -w -3-6-26-27-29-30-32..40-44-45-52-60-9-106+104 -warn-error A -I runtime -I others - -rule cc - command = $bsc -bs-cmi -bs-cmj $bsc_flags -I test $in - description = $in -> $out -rule cc_cmi - command = $bsc -bs-read-cmi -bs-cmi -bs-cmj $bsc_flags -I test $in - description = $in -> $out - -o test/AsInUncurriedExternals.cmi test/AsInUncurriedExternals.cmj : cc test/AsInUncurriedExternals.res | $bsc others runtime -o test/Coercion.cmi test/Coercion.cmj : cc test/Coercion.res | $bsc others runtime -o test/DerivingAccessorsCurried.cmi test/DerivingAccessorsCurried.cmj : cc test/DerivingAccessorsCurried.res | $bsc others runtime -o test/DerivingAccessorsUncurried.cmi test/DerivingAccessorsUncurried.cmj : cc test/DerivingAccessorsUncurried.res | $bsc others runtime -o test/DictInference.cmi test/DictInference.cmj : cc test/DictInference.res | $bsc others runtime -o test/DictInternalRepresentation.cmi test/DictInternalRepresentation.cmj : cc test/DictInternalRepresentation.res | $bsc others runtime -o test/DictTests.cmi test/DictTests.cmj : cc test/DictTests.res | $bsc others runtime -o test/DisambiguateOptionalFields.cmi test/DisambiguateOptionalFields.cmj : cc test/DisambiguateOptionalFields.res | $bsc others runtime -o test/DotDotDot.cmi test/DotDotDot.cmj : cc test/DotDotDot.res | $bsc others runtime -o test/EmptyRecord.cmi test/EmptyRecord.cmj : cc test/EmptyRecord.res | $bsc others runtime -o test/ExternalArity.cmi test/ExternalArity.cmj : cc test/ExternalArity.res | $bsc others runtime -o test/FFI.cmi test/FFI.cmj : cc test/FFI.res | $bsc others runtime -o test/Import.cmi test/Import.cmj : cc test/Import.res | $bsc others runtime -o test/ImportAttributes.cmi test/ImportAttributes.cmj : cc test/ImportAttributes.res | $bsc others runtime -o test/PartialApplicationNoRuntimeCurry.cmi test/PartialApplicationNoRuntimeCurry.cmj : cc test/PartialApplicationNoRuntimeCurry.res | $bsc others runtime -o test/RecordCoercion.cmi test/RecordCoercion.cmj : cc test/RecordCoercion.res | $bsc others runtime -o test/RecordOrObject.cmi test/RecordOrObject.cmj : cc test/RecordOrObject.res | $bsc others runtime -o test/SafePromises.cmi test/SafePromises.cmj : cc test/SafePromises.res | $bsc others runtime -o test/UncurriedAlways.cmi test/UncurriedAlways.cmj : cc test/UncurriedAlways.res | $bsc others runtime -o test/UncurriedExternals.cmi test/UncurriedExternals.cmj : cc test/UncurriedExternals.res | $bsc others runtime -o test/UncurriedPervasives.cmi test/UncurriedPervasives.cmj : cc test/UncurriedPervasives.res | $bsc others runtime -o test/UntaggedVariants.cmi test/UntaggedVariants.cmj : cc test/UntaggedVariants.res | $bsc others runtime -o test/VariantCoercion.cmi test/VariantCoercion.cmj : cc test/VariantCoercion.res | $bsc others runtime -o test/VariantPatternMatchingSpreads.cmi test/VariantPatternMatchingSpreads.cmj : cc test/VariantPatternMatchingSpreads.res | $bsc others runtime -o test/VariantPatternMatchingSpreadsWithPayloads.cmi test/VariantPatternMatchingSpreadsWithPayloads.cmj : cc test/VariantPatternMatchingSpreadsWithPayloads.res | $bsc others runtime -o test/VariantSpreads.cmi test/VariantSpreads.cmj : cc test/VariantSpreads.res | $bsc others runtime -o test/a.cmi test/a.cmj : cc test/a.res | test/test_order.cmj $bsc others runtime -o test/a_recursive_type.cmj : cc_cmi test/a_recursive_type.res | test/a_recursive_type.cmi $bsc others runtime -o test/a_recursive_type.cmi : cc test/a_recursive_type.resi | $bsc others runtime -o test/a_scope_bug.cmi test/a_scope_bug.cmj : cc test/a_scope_bug.res | $bsc others runtime -o test/abstract_type.cmj : cc_cmi test/abstract_type.res | test/abstract_type.cmi $bsc others runtime -o test/abstract_type.cmi : cc test/abstract_type.resi | test/mt.cmi $bsc others runtime -o test/adt_optimize_test.cmi test/adt_optimize_test.cmj : cc test/adt_optimize_test.res | $bsc others runtime -o test/alias_default_value_test.cmi test/alias_default_value_test.cmj : cc test/alias_default_value_test.res | test/react.cmj $bsc others runtime -o test/alias_test.cmj : cc_cmi test/alias_test.res | test/alias_test.cmi $bsc others runtime -o test/alias_test.cmi : cc test/alias_test.resi | $bsc others runtime -o test/and_or_tailcall_test.cmi test/and_or_tailcall_test.cmj : cc test/and_or_tailcall_test.res | test/mt.cmj $bsc others runtime -o test/ari_regress_test.cmj : cc_cmi test/ari_regress_test.res | test/ari_regress_test.cmi test/mt.cmj $bsc others runtime -o test/ari_regress_test.cmi : cc test/ari_regress_test.resi | $bsc others runtime -o test/arith_syntax.cmi test/arith_syntax.cmj : cc test/arith_syntax.res | $bsc others runtime -o test/arity.cmi test/arity.cmj : cc test/arity.res | $bsc others runtime -o test/arity_deopt.cmi test/arity_deopt.cmj : cc test/arity_deopt.res | test/mt.cmj $bsc others runtime -o test/arity_infer.cmi test/arity_infer.cmj : cc test/arity_infer.res | $bsc others runtime -o test/array_data_util.cmi test/array_data_util.cmj : cc test/array_data_util.res | $bsc others runtime -o test/array_safe_get.cmi test/array_safe_get.cmj : cc test/array_safe_get.res | $bsc others runtime -o test/array_subtle_test.cmi test/array_subtle_test.cmj : cc test/array_subtle_test.res | test/mt.cmj $bsc others runtime -o test/as_inline_record_test.cmi test/as_inline_record_test.cmj : cc test/as_inline_record_test.res | $bsc others runtime -o test/ast_abstract_test.cmi test/ast_abstract_test.cmj : cc test/ast_abstract_test.res | test/mt.cmj $bsc others runtime -o test/ast_mapper_unused_warning_test.cmi test/ast_mapper_unused_warning_test.cmj : cc test/ast_mapper_unused_warning_test.res | $bsc others runtime -o test/async_await.cmi test/async_await.cmj : cc test/async_await.res | $bsc others runtime -o test/async_inline.cmi test/async_inline.cmj : cc test/async_inline.res | $bsc others runtime -o test/async_inside_loop.cmi test/async_inside_loop.cmj : cc test/async_inside_loop.res | $bsc others runtime -o test/attr_test.cmi test/attr_test.cmj : cc test/attr_test.res | $bsc others runtime -o test/b.cmi test/b.cmj : cc test/b.res | $bsc others runtime -o test/bal_set_mini.cmi test/bal_set_mini.cmj : cc test/bal_set_mini.res | $bsc others runtime -o test/bb.cmi test/bb.cmj : cc test/bb.res | $bsc others runtime -o test/bdd.cmi test/bdd.cmj : cc test/bdd.res | $bsc others runtime -o test/belt_float_ntest.cmi test/belt_float_ntest.cmj : cc test/belt_float_ntest.res | test/node_test.cmj test/node_test_util.cmj $bsc others runtime -o test/belt_hashmap_ntest.cmi test/belt_hashmap_ntest.cmj : cc test/belt_hashmap_ntest.res | test/array_data_util.cmj test/node_test.cmj test/node_test_util.cmj $bsc others runtime -o test/belt_hashset_int_ntest.cmi test/belt_hashset_int_ntest.cmj : cc test/belt_hashset_int_ntest.res | test/array_data_util.cmj test/node_test.cmj test/node_test_util.cmj $bsc others runtime -o test/belt_int_ntest.cmi test/belt_int_ntest.cmj : cc test/belt_int_ntest.res | test/node_test.cmj test/node_test_util.cmj $bsc others runtime -o test/belt_internal_test.cmi test/belt_internal_test.cmj : cc test/belt_internal_test.res | $bsc others runtime -o test/belt_list_ntest.cmi test/belt_list_ntest.cmj : cc test/belt_list_ntest.res | test/node_test.cmj test/node_test_util.cmj $bsc others runtime -o test/belt_mapint_ntest.cmi test/belt_mapint_ntest.cmj : cc test/belt_mapint_ntest.res | test/node_test.cmj test/node_test_util.cmj $bsc others runtime -o test/belt_result_alias_test.cmi test/belt_result_alias_test.cmj : cc test/belt_result_alias_test.res | $bsc others runtime -o test/belt_sortarray_ntest.cmi test/belt_sortarray_ntest.cmj : cc test/belt_sortarray_ntest.res | test/array_data_util.cmj test/node_test.cmj test/node_test_util.cmj $bsc others runtime -o test/bench.cmi test/bench.cmj : cc test/bench.res | $bsc others runtime -o test/big_enum.cmi test/big_enum.cmj : cc test/big_enum.res | $bsc others runtime -o test/big_polyvar_test.cmi test/big_polyvar_test.cmj : cc test/big_polyvar_test.res | $bsc others runtime -o test/bigint_test.cmi test/bigint_test.cmj : cc test/bigint_test.res | test/mt.cmj test/mt_global.cmj $bsc others runtime -o test/block_alias_test.cmi test/block_alias_test.cmj : cc test/block_alias_test.res | test/mt.cmj $bsc others runtime -o test/boolean_test.cmi test/boolean_test.cmj : cc test/boolean_test.res | test/mt.cmj test/test_bool_equal.cmj $bsc others runtime -o test/bs_abstract_test.cmj : cc_cmi test/bs_abstract_test.res | test/bs_abstract_test.cmi $bsc others runtime -o test/bs_abstract_test.cmi : cc test/bs_abstract_test.resi | $bsc others runtime -o test/bs_array_test.cmi test/bs_array_test.cmj : cc test/bs_array_test.res | test/mt.cmj $bsc others runtime -o test/bs_auto_uncurry.cmi test/bs_auto_uncurry.cmj : cc test/bs_auto_uncurry.res | $bsc others runtime -o test/bs_auto_uncurry_test.cmi test/bs_auto_uncurry_test.cmj : cc test/bs_auto_uncurry_test.res | test/mt.cmj $bsc others runtime -o test/bs_ignore_effect.cmi test/bs_ignore_effect.cmj : cc test/bs_ignore_effect.res | test/mt.cmj $bsc others runtime -o test/bs_ignore_test.cmi test/bs_ignore_test.cmj : cc test/bs_ignore_test.res | $bsc others runtime -o test/bs_map_set_dict_test.cmi test/bs_map_set_dict_test.cmj : cc test/bs_map_set_dict_test.res | test/array_data_util.cmj test/mt.cmj $bsc others runtime -o test/bs_map_test.cmi test/bs_map_test.cmj : cc test/bs_map_test.res | test/mt.cmj $bsc others runtime -o test/bs_min_max_test.cmi test/bs_min_max_test.cmj : cc test/bs_min_max_test.res | test/mt.cmj $bsc others runtime -o test/bs_mutable_set_test.cmi test/bs_mutable_set_test.cmj : cc test/bs_mutable_set_test.res | test/array_data_util.cmj test/mt.cmj $bsc others runtime -o test/bs_poly_map_test.cmi test/bs_poly_map_test.cmj : cc test/bs_poly_map_test.res | test/array_data_util.cmj test/mt.cmj $bsc others runtime -o test/bs_poly_mutable_map_test.cmi test/bs_poly_mutable_map_test.cmj : cc test/bs_poly_mutable_map_test.res | test/array_data_util.cmj test/mt.cmj $bsc others runtime -o test/bs_poly_mutable_set_test.cmi test/bs_poly_mutable_set_test.cmj : cc test/bs_poly_mutable_set_test.res | test/array_data_util.cmj test/mt.cmj $bsc others runtime -o test/bs_poly_set_test.cmi test/bs_poly_set_test.cmj : cc test/bs_poly_set_test.res | test/array_data_util.cmj test/mt.cmj $bsc others runtime -o test/bs_qualified.cmi test/bs_qualified.cmj : cc test/bs_qualified.res | $bsc others runtime -o test/bs_queue_test.cmi test/bs_queue_test.cmj : cc test/bs_queue_test.res | test/mt.cmj $bsc others runtime -o test/bs_rest_test.cmi test/bs_rest_test.cmj : cc test/bs_rest_test.res | $bsc others runtime -o test/bs_set_int_test.cmi test/bs_set_int_test.cmj : cc test/bs_set_int_test.res | test/array_data_util.cmj test/mt.cmj $bsc others runtime -o test/bs_splice_partial.cmi test/bs_splice_partial.cmj : cc test/bs_splice_partial.res | $bsc others runtime -o test/bs_stack_test.cmi test/bs_stack_test.cmj : cc test/bs_stack_test.res | test/mt.cmj $bsc others runtime -o test/bs_string_test.cmi test/bs_string_test.cmj : cc test/bs_string_test.res | test/mt.cmj $bsc others runtime -o test/bs_unwrap_test.cmi test/bs_unwrap_test.cmj : cc test/bs_unwrap_test.res | $bsc others runtime -o test/caml_compare_bigint_test.cmi test/caml_compare_bigint_test.cmj : cc test/caml_compare_bigint_test.res | test/mt.cmj $bsc others runtime -o test/caml_compare_test.cmi test/caml_compare_test.cmj : cc test/caml_compare_test.res | test/mt.cmj $bsc others runtime -o test/chain_code_test.cmi test/chain_code_test.cmj : cc test/chain_code_test.res | test/mt.cmj $bsc others runtime -o test/chn_test.cmi test/chn_test.cmj : cc test/chn_test.res | test/mt.cmj $bsc others runtime -o test/class_type_ffi_test.cmi test/class_type_ffi_test.cmj : cc test/class_type_ffi_test.res | $bsc others runtime -o test/coercion_module_alias_test.cmi test/coercion_module_alias_test.cmj : cc test/coercion_module_alias_test.res | $bsc others runtime -o test/compare_test.cmi test/compare_test.cmj : cc test/compare_test.res | $bsc others runtime -o test/complete_parmatch_test.cmi test/complete_parmatch_test.cmj : cc test/complete_parmatch_test.res | $bsc others runtime -o test/complex_while_loop.cmi test/complex_while_loop.cmj : cc test/complex_while_loop.res | $bsc others runtime -o test/condition_compilation_test.cmi test/condition_compilation_test.cmj : cc test/condition_compilation_test.res | test/mt.cmj $bsc others runtime -o test/config1_test.cmi test/config1_test.cmj : cc test/config1_test.res | $bsc others runtime -o test/console_log_test.cmi test/console_log_test.cmj : cc test/console_log_test.res | $bsc others runtime -o test/const_block_test.cmj : cc_cmi test/const_block_test.res | test/const_block_test.cmi test/mt.cmj $bsc others runtime -o test/const_block_test.cmi : cc test/const_block_test.resi | $bsc others runtime -o test/const_defs.cmi test/const_defs.cmj : cc test/const_defs.res | $bsc others runtime -o test/const_defs_test.cmi test/const_defs_test.cmj : cc test/const_defs_test.res | test/const_defs.cmj $bsc others runtime -o test/const_test.cmi test/const_test.cmj : cc test/const_test.res | $bsc others runtime -o test/cont_int_fold_test.cmi test/cont_int_fold_test.cmj : cc test/cont_int_fold_test.res | $bsc others runtime -o test/cps_test.cmi test/cps_test.cmj : cc test/cps_test.res | test/mt.cmj $bsc others runtime -o test/cross_module_inline_test.cmi test/cross_module_inline_test.cmj : cc test/cross_module_inline_test.res | test/test_char.cmj $bsc others runtime -o test/custom_error_test.cmi test/custom_error_test.cmj : cc test/custom_error_test.res | $bsc others runtime -o test/debug_keep_test.cmi test/debug_keep_test.cmj : cc test/debug_keep_test.res | $bsc others runtime -o test/debug_mode_value.cmi test/debug_mode_value.cmj : cc test/debug_mode_value.res | $bsc others runtime -o test/debug_tmp.cmi test/debug_tmp.cmj : cc test/debug_tmp.res | $bsc others runtime -o test/debugger_test.cmi test/debugger_test.cmj : cc test/debugger_test.res | $bsc others runtime -o test/default_export_test.cmi test/default_export_test.cmj : cc test/default_export_test.res | $bsc others runtime -o test/defunctor_make_test.cmi test/defunctor_make_test.cmj : cc test/defunctor_make_test.res | $bsc others runtime -o test/demo_int_map.cmj : cc_cmi test/demo_int_map.res | test/demo_int_map.cmi $bsc others runtime -o test/demo_int_map.cmi : cc test/demo_int_map.resi | $bsc others runtime -o test/demo_page.cmi test/demo_page.cmj : cc test/demo_page.res | $bsc others runtime -o test/demo_pipe.cmi test/demo_pipe.cmj : cc test/demo_pipe.res | $bsc others runtime -o test/derive_projector_test.cmj : cc_cmi test/derive_projector_test.res | test/derive_projector_test.cmi $bsc others runtime -o test/derive_projector_test.cmi : cc test/derive_projector_test.resi | $bsc others runtime -o test/directives.cmi test/directives.cmj : cc test/directives.res | $bsc others runtime -o test/div_by_zero_test.cmi test/div_by_zero_test.cmj : cc test/div_by_zero_test.res | test/mt.cmj $bsc others runtime -o test/dollar_escape_test.cmi test/dollar_escape_test.cmj : cc test/dollar_escape_test.res | test/mt.cmj $bsc others runtime -o test/earger_curry_test.cmi test/earger_curry_test.cmj : cc test/earger_curry_test.res | test/mt.cmj $bsc others runtime -o test/effect.cmi test/effect.cmj : cc test/effect.res | $bsc others runtime -o test/epsilon_test.cmi test/epsilon_test.cmj : cc test/epsilon_test.res | test/mt.cmj $bsc others runtime -o test/equal_box_test.cmi test/equal_box_test.cmj : cc test/equal_box_test.res | test/mt.cmj $bsc others runtime -o test/equal_exception_test.cmi test/equal_exception_test.cmj : cc test/equal_exception_test.res | test/mt.cmj $bsc others runtime -o test/equal_test.cmi test/equal_test.cmj : cc test/equal_test.res | $bsc others runtime -o test/es6_export.cmi test/es6_export.cmj : cc test/es6_export.res | $bsc others runtime -o test/es6_import.cmi test/es6_import.cmj : cc test/es6_import.res | test/es6_export.cmj $bsc others runtime -o test/es6_module_test.cmi test/es6_module_test.cmj : cc test/es6_module_test.res | test/mt.cmj $bsc others runtime -o test/escape_esmodule.cmi test/escape_esmodule.cmj : cc test/escape_esmodule.res | $bsc others runtime -o test/esmodule_ref.cmi test/esmodule_ref.cmj : cc test/esmodule_ref.res | test/escape_esmodule.cmj $bsc others runtime -o test/event_ffi.cmi test/event_ffi.cmj : cc test/event_ffi.res | $bsc others runtime -o test/exception_alias.cmi test/exception_alias.cmj : cc test/exception_alias.res | $bsc others runtime -o test/exception_raise_test.cmi test/exception_raise_test.cmj : cc test/exception_raise_test.res | test/mt.cmj $bsc others runtime -o test/exception_rebound_err_test.cmi test/exception_rebound_err_test.cmj : cc test/exception_rebound_err_test.res | test/mt.cmj $bsc others runtime -o test/exception_value_test.cmi test/exception_value_test.cmj : cc test/exception_value_test.res | $bsc others runtime -o test/exotic_labels_test.cmi test/exotic_labels_test.cmj : cc test/exotic_labels_test.res | $bsc others runtime -o test/exponentiation_precedence_test.cmi test/exponentiation_precedence_test.cmj : cc test/exponentiation_precedence_test.res | $bsc others runtime -o test/export_keyword.cmi test/export_keyword.cmj : cc test/export_keyword.res | $bsc others runtime -o test/ext_array_test.cmi test/ext_array_test.cmj : cc test/ext_array_test.res | $bsc others runtime -o test/ext_pervasives_test.cmj : cc_cmi test/ext_pervasives_test.res | test/ext_pervasives_test.cmi $bsc others runtime -o test/ext_pervasives_test.cmi : cc test/ext_pervasives_test.resi | $bsc others runtime -o test/extensible_variant_test.cmi test/extensible_variant_test.cmj : cc test/extensible_variant_test.res | test/mt.cmj $bsc others runtime -o test/external_ppx.cmi test/external_ppx.cmj : cc test/external_ppx.res | $bsc others runtime -o test/external_ppx2.cmi test/external_ppx2.cmj : cc test/external_ppx2.res | $bsc others runtime -o test/ffi_arity_test.cmi test/ffi_arity_test.cmj : cc test/ffi_arity_test.res | test/mt.cmj $bsc others runtime -o test/ffi_array_test.cmi test/ffi_array_test.cmj : cc test/ffi_array_test.res | test/mt.cmj $bsc others runtime -o test/ffi_js_test.cmi test/ffi_js_test.cmj : cc test/ffi_js_test.res | test/mt.cmj $bsc others runtime -o test/ffi_splice_test.cmi test/ffi_splice_test.cmj : cc test/ffi_splice_test.res | test/mt.cmj $bsc others runtime -o test/ffi_test.cmi test/ffi_test.cmj : cc test/ffi_test.res | $bsc others runtime -o test/fib.cmi test/fib.cmj : cc test/fib.res | $bsc others runtime -o test/flattern_order_test.cmi test/flattern_order_test.cmj : cc test/flattern_order_test.res | $bsc others runtime -o test/flexible_array_test.cmi test/flexible_array_test.cmj : cc test/flexible_array_test.res | $bsc others runtime -o test/float_array.cmi test/float_array.cmj : cc test/float_array.res | $bsc others runtime -o test/float_record.cmj : cc_cmi test/float_record.res | test/float_record.cmi $bsc others runtime -o test/float_record.cmi : cc test/float_record.resi | $bsc others runtime -o test/float_test.cmi test/float_test.cmj : cc test/float_test.res | test/mt.cmj test/mt_global.cmj $bsc others runtime -o test/for_loop_test.cmi test/for_loop_test.cmj : cc test/for_loop_test.res | test/mt.cmj $bsc others runtime -o test/for_side_effect_test.cmi test/for_side_effect_test.cmj : cc test/for_side_effect_test.res | test/mt.cmj $bsc others runtime -o test/format_regression.cmi test/format_regression.cmj : cc test/format_regression.res | $bsc others runtime -o test/fun_pattern_match.cmi test/fun_pattern_match.cmj : cc test/fun_pattern_match.res | $bsc others runtime -o test/function_directives.cmi test/function_directives.cmj : cc test/function_directives.res | $bsc others runtime -o test/function_directives_no_inline.cmi test/function_directives_no_inline.cmj : cc test/function_directives_no_inline.res | $bsc others runtime -o test/functor_app_test.cmi test/functor_app_test.cmj : cc test/functor_app_test.res | test/functor_def.cmj test/functor_inst.cmj test/mt.cmj $bsc others runtime -o test/functor_def.cmi test/functor_def.cmj : cc test/functor_def.res | $bsc others runtime -o test/functor_ffi.cmi test/functor_ffi.cmj : cc test/functor_ffi.res | $bsc others runtime -o test/functor_inst.cmi test/functor_inst.cmj : cc test/functor_inst.res | $bsc others runtime -o test/functors.cmi test/functors.cmj : cc test/functors.res | $bsc others runtime -o test/gbk.cmi test/gbk.cmj : cc test/gbk.res | $bsc others runtime -o test/gentTypeReTest.cmi test/gentTypeReTest.cmj : cc test/gentTypeReTest.res | $bsc others runtime -o test/global_exception_regression_test.cmi test/global_exception_regression_test.cmj : cc test/global_exception_regression_test.res | test/mt.cmj $bsc others runtime -o test/global_mangles.cmi test/global_mangles.cmj : cc test/global_mangles.res | $bsc others runtime -o test/global_module_alias_test.cmi test/global_module_alias_test.cmj : cc test/global_module_alias_test.res | test/mt.cmj $bsc others runtime -o test/google_closure_test.cmi test/google_closure_test.cmj : cc test/google_closure_test.res | test/mt.cmj test/test_google_closure.cmj $bsc others runtime -o test/gpr496_test.cmi test/gpr496_test.cmj : cc test/gpr496_test.res | test/mt.cmj $bsc others runtime -o test/gpr_1072.cmi test/gpr_1072.cmj : cc test/gpr_1072.res | $bsc others runtime -o test/gpr_1072_reg.cmi test/gpr_1072_reg.cmj : cc test/gpr_1072_reg.res | $bsc others runtime -o test/gpr_1150.cmi test/gpr_1150.cmj : cc test/gpr_1150.res | $bsc others runtime -o test/gpr_1170.cmi test/gpr_1170.cmj : cc test/gpr_1170.res | $bsc others runtime -o test/gpr_1240_missing_unbox.cmi test/gpr_1240_missing_unbox.cmj : cc test/gpr_1240_missing_unbox.res | $bsc others runtime -o test/gpr_1245_test.cmi test/gpr_1245_test.cmj : cc test/gpr_1245_test.res | $bsc others runtime -o test/gpr_1268.cmi test/gpr_1268.cmj : cc test/gpr_1268.res | $bsc others runtime -o test/gpr_1409_test.cmi test/gpr_1409_test.cmj : cc test/gpr_1409_test.res | test/mt.cmj test/string_set.cmj $bsc others runtime -o test/gpr_1423_app_test.cmi test/gpr_1423_app_test.cmj : cc test/gpr_1423_app_test.res | test/gpr_1423_nav.cmj test/mt.cmj $bsc others runtime -o test/gpr_1423_nav.cmi test/gpr_1423_nav.cmj : cc test/gpr_1423_nav.res | $bsc others runtime -o test/gpr_1438.cmi test/gpr_1438.cmj : cc test/gpr_1438.res | $bsc others runtime -o test/gpr_1481.cmi test/gpr_1481.cmj : cc test/gpr_1481.res | $bsc others runtime -o test/gpr_1484.cmi test/gpr_1484.cmj : cc test/gpr_1484.res | $bsc others runtime -o test/gpr_1539_test.cmi test/gpr_1539_test.cmj : cc test/gpr_1539_test.res | $bsc others runtime -o test/gpr_1658_test.cmi test/gpr_1658_test.cmj : cc test/gpr_1658_test.res | test/mt.cmj $bsc others runtime -o test/gpr_1667_test.cmi test/gpr_1667_test.cmj : cc test/gpr_1667_test.res | test/mt.cmj $bsc others runtime -o test/gpr_1692_test.cmi test/gpr_1692_test.cmj : cc test/gpr_1692_test.res | $bsc others runtime -o test/gpr_1698_test.cmi test/gpr_1698_test.cmj : cc test/gpr_1698_test.res | $bsc others runtime -o test/gpr_1701_test.cmi test/gpr_1701_test.cmj : cc test/gpr_1701_test.res | $bsc others runtime -o test/gpr_1716_test.cmi test/gpr_1716_test.cmj : cc test/gpr_1716_test.res | test/mt.cmj $bsc others runtime -o test/gpr_1717_test.cmi test/gpr_1717_test.cmj : cc test/gpr_1717_test.res | $bsc others runtime -o test/gpr_1728_test.cmi test/gpr_1728_test.cmj : cc test/gpr_1728_test.res | test/mt.cmj $bsc others runtime -o test/gpr_1749_test.cmi test/gpr_1749_test.cmj : cc test/gpr_1749_test.res | test/mt.cmj $bsc others runtime -o test/gpr_1759_test.cmi test/gpr_1759_test.cmj : cc test/gpr_1759_test.res | $bsc others runtime -o test/gpr_1760_test.cmi test/gpr_1760_test.cmj : cc test/gpr_1760_test.res | test/mt.cmj $bsc others runtime -o test/gpr_1762_test.cmi test/gpr_1762_test.cmj : cc test/gpr_1762_test.res | test/mt.cmj $bsc others runtime -o test/gpr_1817_test.cmi test/gpr_1817_test.cmj : cc test/gpr_1817_test.res | test/mt.cmj $bsc others runtime -o test/gpr_1822_test.cmi test/gpr_1822_test.cmj : cc test/gpr_1822_test.res | test/mt.cmj $bsc others runtime -o test/gpr_1891_test.cmi test/gpr_1891_test.cmj : cc test/gpr_1891_test.res | $bsc others runtime -o test/gpr_1943_test.cmi test/gpr_1943_test.cmj : cc test/gpr_1943_test.res | test/mt.cmj $bsc others runtime -o test/gpr_1946_test.cmi test/gpr_1946_test.cmj : cc test/gpr_1946_test.res | test/mt.cmj $bsc others runtime -o test/gpr_2316_test.cmi test/gpr_2316_test.cmj : cc test/gpr_2316_test.res | test/mt.cmj $bsc others runtime -o test/gpr_2352_test.cmi test/gpr_2352_test.cmj : cc test/gpr_2352_test.res | $bsc others runtime -o test/gpr_2413_test.cmi test/gpr_2413_test.cmj : cc test/gpr_2413_test.res | $bsc others runtime -o test/gpr_2474.cmi test/gpr_2474.cmj : cc test/gpr_2474.res | $bsc others runtime -o test/gpr_2487.cmi test/gpr_2487.cmj : cc test/gpr_2487.res | $bsc others runtime -o test/gpr_2503_test.cmi test/gpr_2503_test.cmj : cc test/gpr_2503_test.res | test/mt.cmj $bsc others runtime -o test/gpr_2608_test.cmi test/gpr_2608_test.cmj : cc test/gpr_2608_test.res | test/mt.cmj $bsc others runtime -o test/gpr_2614_test.cmi test/gpr_2614_test.cmj : cc test/gpr_2614_test.res | $bsc others runtime -o test/gpr_2633_test.cmi test/gpr_2633_test.cmj : cc test/gpr_2633_test.res | $bsc others runtime -o test/gpr_2642_test.cmi test/gpr_2642_test.cmj : cc test/gpr_2642_test.res | $bsc others runtime -o test/gpr_2682_test.cmi test/gpr_2682_test.cmj : cc test/gpr_2682_test.res | $bsc others runtime -o test/gpr_2700_test.cmi test/gpr_2700_test.cmj : cc test/gpr_2700_test.res | $bsc others runtime -o test/gpr_2731_test.cmi test/gpr_2731_test.cmj : cc test/gpr_2731_test.res | $bsc others runtime -o test/gpr_2789_test.cmi test/gpr_2789_test.cmj : cc test/gpr_2789_test.res | test/mt.cmj $bsc others runtime -o test/gpr_2931_test.cmi test/gpr_2931_test.cmj : cc test/gpr_2931_test.res | test/mt.cmj $bsc others runtime -o test/gpr_3142_test.cmi test/gpr_3142_test.cmj : cc test/gpr_3142_test.res | test/mt.cmj $bsc others runtime -o test/gpr_3154_test.cmi test/gpr_3154_test.cmj : cc test/gpr_3154_test.res | test/mt.cmj $bsc others runtime -o test/gpr_3209_test.cmi test/gpr_3209_test.cmj : cc test/gpr_3209_test.res | $bsc others runtime -o test/gpr_3492_test.cmi test/gpr_3492_test.cmj : cc test/gpr_3492_test.res | test/mt.cmj $bsc others runtime -o test/gpr_3519_jsx_test.cmi test/gpr_3519_jsx_test.cmj : cc test/gpr_3519_jsx_test.res | $bsc others runtime -o test/gpr_3519_test.cmi test/gpr_3519_test.cmj : cc test/gpr_3519_test.res | $bsc others runtime -o test/gpr_3536_test.cmi test/gpr_3536_test.cmj : cc test/gpr_3536_test.res | test/mt.cmj $bsc others runtime -o test/gpr_3546_test.cmi test/gpr_3546_test.cmj : cc test/gpr_3546_test.res | $bsc others runtime -o test/gpr_3548_test.cmi test/gpr_3548_test.cmj : cc test/gpr_3548_test.res | $bsc others runtime -o test/gpr_3549_test.cmi test/gpr_3549_test.cmj : cc test/gpr_3549_test.res | test/mt.cmj $bsc others runtime -o test/gpr_3566_drive_test.cmi test/gpr_3566_drive_test.cmj : cc test/gpr_3566_drive_test.res | test/gpr_3566_test.cmj test/mt.cmj $bsc others runtime -o test/gpr_3566_test.cmi test/gpr_3566_test.cmj : cc test/gpr_3566_test.res | $bsc others runtime -o test/gpr_3595_test.cmi test/gpr_3595_test.cmj : cc test/gpr_3595_test.res | test/mt.cmj $bsc others runtime -o test/gpr_3609_test.cmi test/gpr_3609_test.cmj : cc test/gpr_3609_test.res | $bsc others runtime -o test/gpr_3697_test.cmi test/gpr_3697_test.cmj : cc test/gpr_3697_test.res | $bsc others runtime -o test/gpr_373_test.cmi test/gpr_373_test.cmj : cc test/gpr_373_test.res | $bsc others runtime -o test/gpr_3770_test.cmi test/gpr_3770_test.cmj : cc test/gpr_3770_test.res | $bsc others runtime -o test/gpr_3852_alias.cmi test/gpr_3852_alias.cmj : cc test/gpr_3852_alias.res | test/gpr_3852_effect.cmj $bsc others runtime -o test/gpr_3852_alias_reify.cmj : cc_cmi test/gpr_3852_alias_reify.res | test/gpr_3852_alias_reify.cmi test/gpr_3852_effect.cmj $bsc others runtime -o test/gpr_3852_alias_reify.cmi : cc test/gpr_3852_alias_reify.resi | $bsc others runtime -o test/gpr_3852_effect.cmi test/gpr_3852_effect.cmj : cc test/gpr_3852_effect.res | $bsc others runtime -o test/gpr_3865.cmi test/gpr_3865.cmj : cc test/gpr_3865.res | test/gpr_3865_bar.cmj test/gpr_3865_foo.cmj $bsc others runtime -o test/gpr_3865_bar.cmi test/gpr_3865_bar.cmj : cc test/gpr_3865_bar.res | $bsc others runtime -o test/gpr_3865_foo.cmi test/gpr_3865_foo.cmj : cc test/gpr_3865_foo.res | $bsc others runtime -o test/gpr_3875_test.cmi test/gpr_3875_test.cmj : cc test/gpr_3875_test.res | test/mt.cmj $bsc others runtime -o test/gpr_3877_test.cmi test/gpr_3877_test.cmj : cc test/gpr_3877_test.res | $bsc others runtime -o test/gpr_3895_test.cmi test/gpr_3895_test.cmj : cc test/gpr_3895_test.res | $bsc others runtime -o test/gpr_3897_test.cmi test/gpr_3897_test.cmj : cc test/gpr_3897_test.res | $bsc others runtime -o test/gpr_3931_test.cmi test/gpr_3931_test.cmj : cc test/gpr_3931_test.res | $bsc others runtime -o test/gpr_3980_test.cmi test/gpr_3980_test.cmj : cc test/gpr_3980_test.res | $bsc others runtime -o test/gpr_4025_test.cmi test/gpr_4025_test.cmj : cc test/gpr_4025_test.res | $bsc others runtime -o test/gpr_4069_test.cmi test/gpr_4069_test.cmj : cc test/gpr_4069_test.res | $bsc others runtime -o test/gpr_4265_test.cmi test/gpr_4265_test.cmj : cc test/gpr_4265_test.res | test/mt.cmj $bsc others runtime -o test/gpr_4274_test.cmi test/gpr_4274_test.cmj : cc test/gpr_4274_test.res | $bsc others runtime -o test/gpr_4280_test.cmi test/gpr_4280_test.cmj : cc test/gpr_4280_test.res | test/mt.cmj $bsc others runtime -o test/gpr_4407_test.cmi test/gpr_4407_test.cmj : cc test/gpr_4407_test.res | test/debug_mode_value.cmj test/mt.cmj $bsc others runtime -o test/gpr_441.cmi test/gpr_441.cmj : cc test/gpr_441.res | $bsc others runtime -o test/gpr_4442_test.cmi test/gpr_4442_test.cmj : cc test/gpr_4442_test.res | test/mt.cmj $bsc others runtime -o test/gpr_4491_test.cmi test/gpr_4491_test.cmj : cc test/gpr_4491_test.res | $bsc others runtime -o test/gpr_4494_test.cmi test/gpr_4494_test.cmj : cc test/gpr_4494_test.res | $bsc others runtime -o test/gpr_4519_test.cmi test/gpr_4519_test.cmj : cc test/gpr_4519_test.res | test/mt.cmj $bsc others runtime -o test/gpr_459_test.cmi test/gpr_459_test.cmj : cc test/gpr_459_test.res | test/mt.cmj $bsc others runtime -o test/gpr_4632.cmi test/gpr_4632.cmj : cc test/gpr_4632.res | $bsc others runtime -o test/gpr_4639_test.cmi test/gpr_4639_test.cmj : cc test/gpr_4639_test.res | $bsc others runtime -o test/gpr_4900_test.cmi test/gpr_4900_test.cmj : cc test/gpr_4900_test.res | test/mt.cmj $bsc others runtime -o test/gpr_4924_test.cmi test/gpr_4924_test.cmj : cc test/gpr_4924_test.res | test/mt.cmj $bsc others runtime -o test/gpr_4931.cmi test/gpr_4931.cmj : cc test/gpr_4931.res | $bsc others runtime -o test/gpr_4931_allow.cmi test/gpr_4931_allow.cmj : cc test/gpr_4931_allow.res | $bsc others runtime -o test/gpr_5071_test.cmi test/gpr_5071_test.cmj : cc test/gpr_5071_test.res | test/react.cmj $bsc others runtime -o test/gpr_5169_test.cmi test/gpr_5169_test.cmj : cc test/gpr_5169_test.res | $bsc others runtime -o test/gpr_5218_test.cmi test/gpr_5218_test.cmj : cc test/gpr_5218_test.res | test/mt.cmj $bsc others runtime -o test/gpr_5280_optimize_test.cmi test/gpr_5280_optimize_test.cmj : cc test/gpr_5280_optimize_test.res | $bsc others runtime -o test/gpr_5557.cmi test/gpr_5557.cmj : cc test/gpr_5557.res | $bsc others runtime -o test/gpr_5753.cmi test/gpr_5753.cmj : cc test/gpr_5753.res | $bsc others runtime -o test/gpr_658.cmi test/gpr_658.cmj : cc test/gpr_658.res | $bsc others runtime -o test/gpr_7012_test.cmi test/gpr_7012_test.cmj : cc test/gpr_7012_test.res | $bsc others runtime -o test/gpr_858_test.cmi test/gpr_858_test.cmj : cc test/gpr_858_test.res | $bsc others runtime -o test/gpr_858_unit2_test.cmi test/gpr_858_unit2_test.cmj : cc test/gpr_858_unit2_test.res | $bsc others runtime -o test/gpr_904_test.cmi test/gpr_904_test.cmj : cc test/gpr_904_test.res | test/mt.cmj $bsc others runtime -o test/gpr_974_test.cmi test/gpr_974_test.cmj : cc test/gpr_974_test.res | $bsc others runtime -o test/gpr_977_test.cmi test/gpr_977_test.cmj : cc test/gpr_977_test.res | test/mt.cmj $bsc others runtime -o test/gpr_return_type_unused_attribute.cmi test/gpr_return_type_unused_attribute.cmj : cc test/gpr_return_type_unused_attribute.res | $bsc others runtime -o test/gray_code_test.cmi test/gray_code_test.cmj : cc test/gray_code_test.res | $bsc others runtime -o test/guide_for_ext.cmi test/guide_for_ext.cmj : cc test/guide_for_ext.res | $bsc others runtime -o test/hash_collision_test.cmi test/hash_collision_test.cmj : cc test/hash_collision_test.res | test/mt.cmj $bsc others runtime -o test/hash_sugar_desugar.cmj : cc_cmi test/hash_sugar_desugar.res | test/hash_sugar_desugar.cmi $bsc others runtime -o test/hash_sugar_desugar.cmi : cc test/hash_sugar_desugar.resi | $bsc others runtime -o test/hash_test.cmi test/hash_test.cmj : cc test/hash_test.res | test/mt.cmj test/mt_global.cmj $bsc others runtime -o test/hello.foo.cmi test/hello.foo.cmj : cc test/hello.foo.res | $bsc others runtime -o test/hello_res.cmj : cc_cmi test/hello_res.res | test/hello_res.cmi $bsc others runtime -o test/hello_res.cmi : cc test/hello_res.resi | $bsc others runtime -o test/ignore_test.cmi test/ignore_test.cmj : cc test/ignore_test.res | test/mt.cmj $bsc others runtime -o test/ignore_uncurry_attribute.cmi test/ignore_uncurry_attribute.cmj : cc test/ignore_uncurry_attribute.res | $bsc others runtime -o test/import2.cmi test/import2.cmj : cc test/import2.res | test/import_external.cmj $bsc others runtime -o test/import_external.cmi test/import_external.cmj : cc test/import_external.res | $bsc others runtime -o test/import_side_effect.cmi test/import_side_effect.cmj : cc test/import_side_effect.res | test/side_effect.cmj test/side_effect2.cmj $bsc others runtime -o test/import_side_effect_free.cmi test/import_side_effect_free.cmj : cc test/import_side_effect_free.res | test/side_effect_free.cmj $bsc others runtime -o test/include_side_effect.cmi test/include_side_effect.cmj : cc test/include_side_effect.res | test/side_effect.cmj $bsc others runtime -o test/include_side_effect_free.cmi test/include_side_effect_free.cmj : cc test/include_side_effect_free.res | test/side_effect_free.cmj $bsc others runtime -o test/incomplete_toplevel_test.cmi test/incomplete_toplevel_test.cmj : cc test/incomplete_toplevel_test.res | $bsc others runtime -o test/infer_type_test.cmj : cc_cmi test/infer_type_test.res | test/infer_type_test.cmi $bsc others runtime -o test/infer_type_test.cmi : cc test/infer_type_test.resi | $bsc others runtime -o test/inline_condition_with_pattern_matching.cmi test/inline_condition_with_pattern_matching.cmj : cc test/inline_condition_with_pattern_matching.res | $bsc others runtime -o test/inline_const.cmj : cc_cmi test/inline_const.res | test/inline_const.cmi $bsc others runtime -o test/inline_const.cmi : cc test/inline_const.resi | $bsc others runtime -o test/inline_const_test.cmi test/inline_const_test.cmj : cc test/inline_const_test.res | test/inline_const.cmj test/mt.cmj $bsc others runtime -o test/inline_edge_cases.cmj : cc_cmi test/inline_edge_cases.res | test/inline_edge_cases.cmi $bsc others runtime -o test/inline_edge_cases.cmi : cc test/inline_edge_cases.resi | $bsc others runtime -o test/inline_map2_test.cmi test/inline_map2_test.cmj : cc test/inline_map2_test.res | test/mt.cmj $bsc others runtime -o test/inline_map_demo.cmi test/inline_map_demo.cmj : cc test/inline_map_demo.res | test/mt.cmj $bsc others runtime -o test/inline_map_test.cmj : cc_cmi test/inline_map_test.res | test/inline_map_test.cmi test/mt.cmj $bsc others runtime -o test/inline_map_test.cmi : cc test/inline_map_test.resi | $bsc others runtime -o test/inline_record_test.cmi test/inline_record_test.cmj : cc test/inline_record_test.res | test/mt.cmj $bsc others runtime -o test/inline_regression_test.cmi test/inline_regression_test.cmj : cc test/inline_regression_test.res | test/mt.cmj $bsc others runtime -o test/inline_string_test.cmi test/inline_string_test.cmj : cc test/inline_string_test.res | $bsc others runtime -o test/inner_call.cmi test/inner_call.cmj : cc test/inner_call.res | test/inner_define.cmj $bsc others runtime -o test/inner_define.cmj : cc_cmi test/inner_define.res | test/inner_define.cmi $bsc others runtime -o test/inner_define.cmi : cc test/inner_define.resi | $bsc others runtime -o test/inner_unused.cmi test/inner_unused.cmj : cc test/inner_unused.res | $bsc others runtime -o test/installation_test.cmi test/installation_test.cmj : cc test/installation_test.res | test/mt.cmj $bsc others runtime -o test/int_map.cmi test/int_map.cmj : cc test/int_map.res | $bsc others runtime -o test/int_overflow_test.cmi test/int_overflow_test.cmj : cc test/int_overflow_test.res | test/mt.cmj $bsc others runtime -o test/int_poly_var.cmi test/int_poly_var.cmj : cc test/int_poly_var.res | test/mt.cmj test/test2.cmj $bsc others runtime -o test/int_switch_test.cmi test/int_switch_test.cmj : cc test/int_switch_test.res | test/mt.cmj $bsc others runtime -o test/internal_unused_test.cmi test/internal_unused_test.cmj : cc test/internal_unused_test.res | $bsc others runtime -o test/js_array_test.cmi test/js_array_test.cmj : cc test/js_array_test.res | test/mt.cmj $bsc others runtime -o test/js_bool_test.cmi test/js_bool_test.cmj : cc test/js_bool_test.res | test/mt.cmj $bsc others runtime -o test/js_cast_test.cmi test/js_cast_test.cmj : cc test/js_cast_test.res | test/mt.cmj $bsc others runtime -o test/js_date_test.cmi test/js_date_test.cmj : cc test/js_date_test.res | test/mt.cmj $bsc others runtime -o test/js_dict_test.cmi test/js_dict_test.cmj : cc test/js_dict_test.res | test/mt.cmj $bsc others runtime -o test/js_exception_catch_test.cmi test/js_exception_catch_test.cmj : cc test/js_exception_catch_test.res | test/mt.cmj $bsc others runtime -o test/js_float_test.cmi test/js_float_test.cmj : cc test/js_float_test.res | test/mt.cmj $bsc others runtime -o test/js_global_test.cmi test/js_global_test.cmj : cc test/js_global_test.res | test/mt.cmj $bsc others runtime -o test/js_int_test.cmi test/js_int_test.cmj : cc test/js_int_test.res | test/mt.cmj $bsc others runtime -o test/js_json_test.cmi test/js_json_test.cmj : cc test/js_json_test.res | test/mt.cmj $bsc others runtime -o test/js_math_test.cmi test/js_math_test.cmj : cc test/js_math_test.res | test/mt.cmj $bsc others runtime -o test/js_null_test.cmi test/js_null_test.cmj : cc test/js_null_test.res | test/mt.cmj $bsc others runtime -o test/js_null_undefined_test.cmi test/js_null_undefined_test.cmj : cc test/js_null_undefined_test.res | test/mt.cmj $bsc others runtime -o test/js_nullable_test.cmi test/js_nullable_test.cmj : cc test/js_nullable_test.res | test/mt.cmj $bsc others runtime -o test/js_obj_test.cmi test/js_obj_test.cmj : cc test/js_obj_test.res | test/mt.cmj $bsc others runtime -o test/js_option_test.cmi test/js_option_test.cmj : cc test/js_option_test.res | test/mt.cmj $bsc others runtime -o test/js_re_test.cmi test/js_re_test.cmj : cc test/js_re_test.res | test/mt.cmj $bsc others runtime -o test/js_string_test.cmi test/js_string_test.cmj : cc test/js_string_test.res | test/mt.cmj $bsc others runtime -o test/js_undefined_test.cmi test/js_undefined_test.cmj : cc test/js_undefined_test.res | test/mt.cmj $bsc others runtime -o test/js_val.cmi test/js_val.cmj : cc test/js_val.res | $bsc others runtime -o test/jsoo_400_test.cmi test/jsoo_400_test.cmj : cc test/jsoo_400_test.res | test/mt.cmj $bsc others runtime -o test/jsoo_485_test.cmi test/jsoo_485_test.cmj : cc test/jsoo_485_test.res | $bsc others runtime -o test/jsxv4_newtype.cmi test/jsxv4_newtype.cmj : cc test/jsxv4_newtype.res | test/react.cmj $bsc others runtime -o test/keep_uncurry_attribute.cmi test/keep_uncurry_attribute.cmj : cc test/keep_uncurry_attribute.res | $bsc others runtime -o test/key_word_property.cmi test/key_word_property.cmj : cc test/key_word_property.res | $bsc others runtime -o test/key_word_property2.cmi test/key_word_property2.cmj : cc test/key_word_property2.res | test/export_keyword.cmj $bsc others runtime -o test/key_word_property_plus_test.cmi test/key_word_property_plus_test.cmj : cc test/key_word_property_plus_test.res | test/global_mangles.cmj test/mt.cmj $bsc others runtime -o test/label_uncurry.cmi test/label_uncurry.cmj : cc test/label_uncurry.res | $bsc others runtime -o test/large_integer_pat.cmi test/large_integer_pat.cmj : cc test/large_integer_pat.res | $bsc others runtime -o test/large_record_duplication_test.cmi test/large_record_duplication_test.cmj : cc test/large_record_duplication_test.res | test/mt.cmj $bsc others runtime -o test/largest_int_flow.cmi test/largest_int_flow.cmj : cc test/largest_int_flow.res | $bsc others runtime -o test/lazy_demo.cmi test/lazy_demo.cmj : cc test/lazy_demo.res | $bsc others runtime -o test/lazy_test.cmi test/lazy_test.cmj : cc test/lazy_test.res | test/mt.cmj $bsc others runtime -o test/lib_js_test.cmi test/lib_js_test.cmj : cc test/lib_js_test.res | test/mt.cmj $bsc others runtime -o test/limits_test.cmi test/limits_test.cmj : cc test/limits_test.res | test/mt.cmj $bsc others runtime -o test/list_test.cmi test/list_test.cmj : cc test/list_test.res | test/mt.cmj $bsc others runtime -o test/local_exception_test.cmi test/local_exception_test.cmj : cc test/local_exception_test.res | $bsc others runtime -o test/loop_regression_test.cmi test/loop_regression_test.cmj : cc test/loop_regression_test.res | test/mt.cmj $bsc others runtime -o test/map_find_test.cmi test/map_find_test.cmj : cc test/map_find_test.res | test/mt.cmj $bsc others runtime -o test/mario_game.cmi test/mario_game.cmj : cc test/mario_game.res | $bsc others runtime -o test/meth_annotation.cmi test/meth_annotation.cmj : cc test/meth_annotation.res | $bsc others runtime -o test/method_name_test.cmi test/method_name_test.cmj : cc test/method_name_test.res | test/mt.cmj $bsc others runtime -o test/method_string_name.cmi test/method_string_name.cmj : cc test/method_string_name.res | $bsc others runtime -o test/minimal_test.cmi test/minimal_test.cmj : cc test/minimal_test.res | $bsc others runtime -o test/miss_colon_test.cmi test/miss_colon_test.cmj : cc test/miss_colon_test.res | $bsc others runtime -o test/mock_mt.cmi test/mock_mt.cmj : cc test/mock_mt.res | test/mt.cmj $bsc others runtime -o test/module_alias_test.cmi test/module_alias_test.cmj : cc test/module_alias_test.res | test/ext_pervasives_test.cmj test/mt.cmj $bsc others runtime -o test/module_as_class_ffi.cmi test/module_as_class_ffi.cmj : cc test/module_as_class_ffi.res | $bsc others runtime -o test/module_as_function.cmi test/module_as_function.cmj : cc test/module_as_function.res | $bsc others runtime -o test/module_missing_conversion.cmi test/module_missing_conversion.cmj : cc test/module_missing_conversion.res | $bsc others runtime -o test/module_parameter_test.cmi test/module_parameter_test.cmj : cc test/module_parameter_test.res | test/mt.cmj $bsc others runtime -o test/module_splice_test.cmi test/module_splice_test.cmj : cc test/module_splice_test.res | test/mt.cmj $bsc others runtime -o test/more_poly_variant_test.cmi test/more_poly_variant_test.cmj : cc test/more_poly_variant_test.res | $bsc others runtime -o test/more_uncurry.cmi test/more_uncurry.cmj : cc test/more_uncurry.res | $bsc others runtime -o test/mpr_6033_test.cmi test/mpr_6033_test.cmj : cc test/mpr_6033_test.res | test/mt.cmj $bsc others runtime -o test/mt.cmj : cc_cmi test/mt.res | test/mt.cmi $bsc others runtime -o test/mt.cmi : cc test/mt.resi | $bsc others runtime -o test/mt_global.cmj : cc_cmi test/mt_global.res | test/mt.cmj test/mt_global.cmi $bsc others runtime -o test/mt_global.cmi : cc test/mt_global.resi | test/mt.cmi $bsc others runtime -o test/mutable_obj_test.cmi test/mutable_obj_test.cmj : cc test/mutable_obj_test.res | $bsc others runtime -o test/mutable_uncurry_test.cmi test/mutable_uncurry_test.cmj : cc test/mutable_uncurry_test.res | test/mt.cmj $bsc others runtime -o test/mutual_non_recursive_type.cmi test/mutual_non_recursive_type.cmj : cc test/mutual_non_recursive_type.res | $bsc others runtime -o test/name_mangle_test.cmi test/name_mangle_test.cmj : cc test/name_mangle_test.res | test/mt.cmj $bsc others runtime -o test/nested_include.cmi test/nested_include.cmj : cc test/nested_include.res | $bsc others runtime -o test/nested_module_alias.cmi test/nested_module_alias.cmj : cc test/nested_module_alias.res | $bsc others runtime -o test/nested_obj_literal.cmi test/nested_obj_literal.cmj : cc test/nested_obj_literal.res | $bsc others runtime -o test/nested_obj_test.cmi test/nested_obj_test.cmj : cc test/nested_obj_test.res | $bsc others runtime -o test/nested_pattern_match_test.cmi test/nested_pattern_match_test.cmj : cc test/nested_pattern_match_test.res | $bsc others runtime -o test/noassert.cmi test/noassert.cmj : cc test/noassert.res | $bsc others runtime -o test/node_assert.cmi test/node_assert.cmj : cc test/node_assert.res | $bsc others runtime -o test/node_path_test.cmi test/node_path_test.cmj : cc test/node_path_test.res | $bsc others runtime -o test/node_test.cmi test/node_test.cmj : cc test/node_test.res | $bsc others runtime -o test/node_test_util.cmi test/node_test_util.cmj : cc test/node_test_util.res | test/node_assert.cmj $bsc others runtime -o test/obj_literal_ppx.cmi test/obj_literal_ppx.cmj : cc test/obj_literal_ppx.res | $bsc others runtime -o test/obj_literal_ppx_test.cmi test/obj_literal_ppx_test.cmj : cc test/obj_literal_ppx_test.res | $bsc others runtime -o test/obj_magic_test.cmi test/obj_magic_test.cmj : cc test/obj_magic_test.res | test/mt.cmj $bsc others runtime -o test/obj_type_test.cmi test/obj_type_test.cmj : cc test/obj_type_test.res | $bsc others runtime -o test/offset.cmi test/offset.cmj : cc test/offset.res | $bsc others runtime -o test/omit_trailing_undefined_in_external_calls.cmi test/omit_trailing_undefined_in_external_calls.cmj : cc test/omit_trailing_undefined_in_external_calls.res | $bsc others runtime -o test/option_encoding_test.cmi test/option_encoding_test.cmj : cc test/option_encoding_test.res | $bsc others runtime -o test/option_repr_test.cmi test/option_repr_test.cmj : cc test/option_repr_test.res | test/mt.cmj $bsc others runtime -o test/optional_ffi_test.cmi test/optional_ffi_test.cmj : cc test/optional_ffi_test.res | test/mt.cmj $bsc others runtime -o test/optional_regression_test.cmi test/optional_regression_test.cmj : cc test/optional_regression_test.res | test/mt.cmj $bsc others runtime -o test/pipe_send_readline.cmi test/pipe_send_readline.cmj : cc test/pipe_send_readline.res | $bsc others runtime -o test/pipe_syntax.cmi test/pipe_syntax.cmj : cc test/pipe_syntax.res | $bsc others runtime -o test/poly_empty_array.cmi test/poly_empty_array.cmj : cc test/poly_empty_array.res | $bsc others runtime -o test/poly_variant_test.cmj : cc_cmi test/poly_variant_test.res | test/mt.cmj test/poly_variant_test.cmi $bsc others runtime -o test/poly_variant_test.cmi : cc test/poly_variant_test.resi | $bsc others runtime -o test/polymorphic_raw_test.cmi test/polymorphic_raw_test.cmj : cc test/polymorphic_raw_test.res | test/mt.cmj $bsc others runtime -o test/polymorphism_test.cmj : cc_cmi test/polymorphism_test.res | test/polymorphism_test.cmi $bsc others runtime -o test/polymorphism_test.cmi : cc test/polymorphism_test.resi | $bsc others runtime -o test/polyvar_convert.cmi test/polyvar_convert.cmj : cc test/polyvar_convert.res | $bsc others runtime -o test/polyvar_test.cmi test/polyvar_test.cmj : cc test/polyvar_test.res | $bsc others runtime -o test/ppx_apply_test.cmi test/ppx_apply_test.cmj : cc test/ppx_apply_test.res | test/mt.cmj $bsc others runtime -o test/pq_test.cmi test/pq_test.cmj : cc test/pq_test.res | $bsc others runtime -o test/pr6726.cmi test/pr6726.cmj : cc test/pr6726.res | $bsc others runtime -o test/prepend_data_ffi.cmi test/prepend_data_ffi.cmj : cc test/prepend_data_ffi.res | $bsc others runtime -o test/print_alpha_test.cmi test/print_alpha_test.cmj : cc test/print_alpha_test.res | test/mt.cmj $bsc others runtime -o test/queue_402.cmi test/queue_402.cmj : cc test/queue_402.res | $bsc others runtime -o test/raw_output_test.cmi test/raw_output_test.cmj : cc test/raw_output_test.res | $bsc others runtime -o test/raw_pure_test.cmi test/raw_pure_test.cmj : cc test/raw_pure_test.res | $bsc others runtime -o test/rbset.cmi test/rbset.cmj : cc test/rbset.res | $bsc others runtime -o test/react.cmi test/react.cmj : cc test/react.res | $bsc others runtime -o test/reactDOMRe.cmi test/reactDOMRe.cmj : cc test/reactDOMRe.res | test/react.cmj test/reactEvent.cmj test/reasonReact.cmj $bsc others runtime -o test/reactDOMServerRe.cmi test/reactDOMServerRe.cmj : cc test/reactDOMServerRe.res | test/react.cmj $bsc others runtime -o test/reactEvent.cmj : cc_cmi test/reactEvent.res | test/reactEvent.cmi $bsc others runtime -o test/reactEvent.cmi : cc test/reactEvent.resi | $bsc others runtime -o test/reactTestUtils.cmj : cc_cmi test/reactTestUtils.res | test/react.cmj test/reactTestUtils.cmi $bsc others runtime -o test/reactTestUtils.cmi : cc test/reactTestUtils.resi | test/react.cmi $bsc others runtime -o test/reasonReact.cmj : cc_cmi test/reasonReact.res | test/react.cmj test/reasonReact.cmi test/reasonReactRouter.cmj $bsc others runtime -o test/reasonReact.cmi : cc test/reasonReact.resi | test/react.cmi test/reasonReactRouter.cmi $bsc others runtime -o test/reasonReactCompat.cmj : cc_cmi test/reasonReactCompat.res | test/react.cmj test/reasonReact.cmj test/reasonReactCompat.cmi $bsc others runtime -o test/reasonReactCompat.cmi : cc test/reasonReactCompat.resi | test/react.cmi test/reasonReact.cmi $bsc others runtime -o test/reasonReactOptimizedCreateClass.cmi test/reasonReactOptimizedCreateClass.cmj : cc test/reasonReactOptimizedCreateClass.res | $bsc others runtime -o test/reasonReactRouter.cmj : cc_cmi test/reasonReactRouter.res | test/react.cmj test/reasonReactRouter.cmi $bsc others runtime -o test/reasonReactRouter.cmi : cc test/reasonReactRouter.resi | $bsc others runtime -o test/rebind_module.cmi test/rebind_module.cmj : cc test/rebind_module.res | $bsc others runtime -o test/rebind_module_test.cmi test/rebind_module_test.cmj : cc test/rebind_module_test.res | test/rebind_module.cmj $bsc others runtime -o test/rec_array_test.cmi test/rec_array_test.cmj : cc test/rec_array_test.res | $bsc others runtime -o test/rec_fun_test.cmi test/rec_fun_test.cmj : cc test/rec_fun_test.res | test/mt.cmj $bsc others runtime -o test/rec_module_opt.cmi test/rec_module_opt.cmj : cc test/rec_module_opt.res | $bsc others runtime -o test/rec_module_test.cmi test/rec_module_test.cmj : cc test/rec_module_test.res | test/mt.cmj $bsc others runtime -o test/recmodule.cmi test/recmodule.cmj : cc test/recmodule.res | $bsc others runtime -o test/record_debug_test.cmi test/record_debug_test.cmj : cc test/record_debug_test.res | test/mt.cmj $bsc others runtime -o test/record_extension_test.cmi test/record_extension_test.cmj : cc test/record_extension_test.res | test/mt.cmj $bsc others runtime -o test/record_name_test.cmi test/record_name_test.cmj : cc test/record_name_test.res | $bsc others runtime -o test/record_regression.cmi test/record_regression.cmj : cc test/record_regression.res | $bsc others runtime -o test/record_type_spread.cmi test/record_type_spread.cmj : cc test/record_type_spread.res | $bsc others runtime -o test/record_with_test.cmi test/record_with_test.cmj : cc test/record_with_test.res | test/mt.cmj $bsc others runtime -o test/recursive_module.cmi test/recursive_module.cmj : cc test/recursive_module.res | test/mt.cmj $bsc others runtime -o test/recursive_module_test.cmi test/recursive_module_test.cmj : cc test/recursive_module_test.res | test/mt.cmj $bsc others runtime -o test/recursive_react_component.cmi test/recursive_react_component.cmj : cc test/recursive_react_component.res | test/react.cmj $bsc others runtime -o test/recursive_records_test.cmi test/recursive_records_test.cmj : cc test/recursive_records_test.res | test/mt.cmj $bsc others runtime -o test/recursive_unbound_module_test.cmi test/recursive_unbound_module_test.cmj : cc test/recursive_unbound_module_test.res | $bsc others runtime -o test/regression_print.cmi test/regression_print.cmj : cc test/regression_print.res | $bsc others runtime -o test/relative_path.cmi test/relative_path.cmj : cc test/relative_path.res | $bsc others runtime -o test/res_debug.cmi test/res_debug.cmj : cc test/res_debug.res | $bsc others runtime -o test/return_check.cmi test/return_check.cmj : cc test/return_check.res | $bsc others runtime -o test/runtime_encoding_test.cmi test/runtime_encoding_test.cmj : cc test/runtime_encoding_test.res | $bsc others runtime -o test/set_annotation.cmi test/set_annotation.cmj : cc test/set_annotation.res | $bsc others runtime -o test/set_gen.cmi test/set_gen.cmj : cc test/set_gen.res | $bsc others runtime -o test/side_effect.cmi test/side_effect.cmj : cc test/side_effect.res | $bsc others runtime -o test/side_effect2.cmi test/side_effect2.cmj : cc test/side_effect2.res | $bsc others runtime -o test/side_effect_free.cmi test/side_effect_free.cmj : cc test/side_effect_free.res | $bsc others runtime -o test/simplify_lambda_632o.cmi test/simplify_lambda_632o.cmj : cc test/simplify_lambda_632o.res | $bsc others runtime -o test/singular_unit_test.cmi test/singular_unit_test.cmj : cc test/singular_unit_test.res | $bsc others runtime -o test/small_inline_test.cmi test/small_inline_test.cmj : cc test/small_inline_test.res | $bsc others runtime -o test/splice_test.cmi test/splice_test.cmj : cc test/splice_test.res | test/mt.cmj $bsc others runtime -o test/string_bound_get_test.cmi test/string_bound_get_test.cmj : cc test/string_bound_get_test.res | $bsc others runtime -o test/string_constant_compare.cmi test/string_constant_compare.cmj : cc test/string_constant_compare.res | $bsc others runtime -o test/string_set.cmi test/string_set.cmj : cc test/string_set.res | test/set_gen.cmj $bsc others runtime -o test/string_set_test.cmi test/string_set_test.cmj : cc test/string_set_test.res | test/mt.cmj test/string_set.cmj $bsc others runtime -o test/string_unicode_test.cmi test/string_unicode_test.cmj : cc test/string_unicode_test.res | test/mt.cmj $bsc others runtime -o test/stringmatch_test.cmi test/stringmatch_test.cmj : cc test/stringmatch_test.res | $bsc others runtime -o test/submodule.cmi test/submodule.cmj : cc test/submodule.res | $bsc others runtime -o test/submodule_call.cmi test/submodule_call.cmj : cc test/submodule_call.res | test/submodule.cmj $bsc others runtime -o test/switch_case_test.cmi test/switch_case_test.cmj : cc test/switch_case_test.res | test/mt.cmj $bsc others runtime -o test/switch_string.cmi test/switch_string.cmj : cc test/switch_string.res | $bsc others runtime -o test/tagged_template_test.cmi test/tagged_template_test.cmj : cc test/tagged_template_test.res | test/mt.cmj $bsc others runtime -o test/tailcall_inline_test.cmi test/tailcall_inline_test.cmj : cc test/tailcall_inline_test.res | test/mt.cmj $bsc others runtime -o test/template.cmi test/template.cmj : cc test/template.res | $bsc others runtime -o test/test2.cmi test/test2.cmj : cc test/test2.res | $bsc others runtime -o test/test_ari.cmi test/test_ari.cmj : cc test/test_ari.res | $bsc others runtime -o test/test_array.cmi test/test_array.cmj : cc test/test_array.res | $bsc others runtime -o test/test_array_append.cmi test/test_array_append.cmj : cc test/test_array_append.res | $bsc others runtime -o test/test_bool_equal.cmi test/test_bool_equal.cmj : cc test/test_bool_equal.res | $bsc others runtime -o test/test_bs_this.cmi test/test_bs_this.cmj : cc test/test_bs_this.res | $bsc others runtime -o test/test_case_opt_collision.cmi test/test_case_opt_collision.cmj : cc test/test_case_opt_collision.res | test/mt.cmj $bsc others runtime -o test/test_case_set.cmi test/test_case_set.cmj : cc test/test_case_set.res | $bsc others runtime -o test/test_char.cmi test/test_char.cmj : cc test/test_char.res | $bsc others runtime -o test/test_closure.cmi test/test_closure.cmj : cc test/test_closure.res | $bsc others runtime -o test/test_common.cmi test/test_common.cmj : cc test/test_common.res | $bsc others runtime -o test/test_const_elim.cmi test/test_const_elim.cmj : cc test/test_const_elim.res | $bsc others runtime -o test/test_const_propogate.cmi test/test_const_propogate.cmj : cc test/test_const_propogate.res | $bsc others runtime -o test/test_cpp.cmi test/test_cpp.cmj : cc test/test_cpp.res | $bsc others runtime -o test/test_cps.cmi test/test_cps.cmj : cc test/test_cps.res | $bsc others runtime -o test/test_demo.cmi test/test_demo.cmj : cc test/test_demo.res | $bsc others runtime -o test/test_dup_param.cmi test/test_dup_param.cmj : cc test/test_dup_param.res | $bsc others runtime -o test/test_eq.cmi test/test_eq.cmj : cc test/test_eq.res | $bsc others runtime -o test/test_exception.cmi test/test_exception.cmj : cc test/test_exception.res | test/test_common.cmj $bsc others runtime -o test/test_exception_escape.cmi test/test_exception_escape.cmj : cc test/test_exception_escape.res | $bsc others runtime -o test/test_export2.cmi test/test_export2.cmj : cc test/test_export2.res | $bsc others runtime -o test/test_external.cmi test/test_external.cmj : cc test/test_external.res | $bsc others runtime -o test/test_external_unit.cmi test/test_external_unit.cmj : cc test/test_external_unit.res | $bsc others runtime -o test/test_ffi.cmi test/test_ffi.cmj : cc test/test_ffi.res | $bsc others runtime -o test/test_fib.cmi test/test_fib.cmj : cc test/test_fib.res | $bsc others runtime -o test/test_for_loop.cmi test/test_for_loop.cmj : cc test/test_for_loop.res | $bsc others runtime -o test/test_for_map.cmi test/test_for_map.cmj : cc test/test_for_map.res | $bsc others runtime -o test/test_for_map2.cmi test/test_for_map2.cmj : cc test/test_for_map2.res | $bsc others runtime -o test/test_functor_dead_code.cmi test/test_functor_dead_code.cmj : cc test/test_functor_dead_code.res | $bsc others runtime -o test/test_generative_module.cmi test/test_generative_module.cmj : cc test/test_generative_module.res | $bsc others runtime -o test/test_google_closure.cmi test/test_google_closure.cmj : cc test/test_google_closure.res | $bsc others runtime -o test/test_include.cmi test/test_include.cmj : cc test/test_include.res | test/test_order.cmj $bsc others runtime -o test/test_incomplete.cmi test/test_incomplete.cmj : cc test/test_incomplete.res | $bsc others runtime -o test/test_incr_ref.cmi test/test_incr_ref.cmj : cc test/test_incr_ref.res | $bsc others runtime -o test/test_int_map_find.cmi test/test_int_map_find.cmj : cc test/test_int_map_find.res | $bsc others runtime -o test/test_is_js.cmi test/test_is_js.cmj : cc test/test_is_js.res | test/mt.cmj $bsc others runtime -o test/test_js_ffi.cmi test/test_js_ffi.cmj : cc test/test_js_ffi.res | test/test_order.cmj $bsc others runtime -o test/test_let.cmi test/test_let.cmj : cc test/test_let.res | $bsc others runtime -o test/test_list.cmi test/test_list.cmj : cc test/test_list.res | $bsc others runtime -o test/test_literal.cmi test/test_literal.cmj : cc test/test_literal.res | $bsc others runtime -o test/test_literals.cmi test/test_literals.cmj : cc test/test_literals.res | $bsc others runtime -o test/test_match_exception.cmi test/test_match_exception.cmj : cc test/test_match_exception.res | $bsc others runtime -o test/test_nested_let.cmi test/test_nested_let.cmj : cc test/test_nested_let.res | $bsc others runtime -o test/test_nested_print.cmi test/test_nested_print.cmj : cc test/test_nested_print.res | $bsc others runtime -o test/test_non_export.cmi test/test_non_export.cmj : cc test/test_non_export.res | test/test_order.cmj $bsc others runtime -o test/test_nullary.cmi test/test_nullary.cmj : cc test/test_nullary.res | $bsc others runtime -o test/test_obj.cmi test/test_obj.cmj : cc test/test_obj.res | $bsc others runtime -o test/test_order.cmi test/test_order.cmj : cc test/test_order.res | $bsc others runtime -o test/test_order_tailcall.cmi test/test_order_tailcall.cmj : cc test/test_order_tailcall.res | $bsc others runtime -o test/test_other_exn.cmi test/test_other_exn.cmj : cc test/test_other_exn.res | $bsc others runtime -o test/test_per.cmi test/test_per.cmj : cc test/test_per.res | $bsc others runtime -o test/test_pervasive.cmi test/test_pervasive.cmj : cc test/test_pervasive.res | $bsc others runtime -o test/test_pervasives3.cmi test/test_pervasives3.cmj : cc test/test_pervasives3.res | $bsc others runtime -o test/test_primitive.cmi test/test_primitive.cmj : cc test/test_primitive.res | $bsc others runtime -o test/test_ramification.cmi test/test_ramification.cmj : cc test/test_ramification.res | $bsc others runtime -o test/test_react.cmi test/test_react.cmj : cc test/test_react.res | $bsc others runtime -o test/test_react_case.cmi test/test_react_case.cmj : cc test/test_react_case.res | $bsc others runtime -o test/test_regex.cmi test/test_regex.cmj : cc test/test_regex.res | $bsc others runtime -o test/test_runtime_encoding.cmi test/test_runtime_encoding.cmj : cc test/test_runtime_encoding.res | $bsc others runtime -o test/test_scope.cmi test/test_scope.cmj : cc test/test_scope.res | $bsc others runtime -o test/test_seq.cmi test/test_seq.cmj : cc test/test_seq.res | $bsc others runtime -o test/test_set.cmi test/test_set.cmj : cc test/test_set.res | $bsc others runtime -o test/test_side_effect_functor.cmi test/test_side_effect_functor.cmj : cc test/test_side_effect_functor.res | $bsc others runtime -o test/test_simple_include.cmi test/test_simple_include.cmj : cc test/test_simple_include.res | $bsc others runtime -o test/test_simple_pattern_match.cmi test/test_simple_pattern_match.cmj : cc test/test_simple_pattern_match.res | $bsc others runtime -o test/test_simple_ref.cmi test/test_simple_ref.cmj : cc test/test_simple_ref.res | $bsc others runtime -o test/test_simple_tailcall.cmi test/test_simple_tailcall.cmj : cc test/test_simple_tailcall.res | $bsc others runtime -o test/test_small.cmi test/test_small.cmj : cc test/test_small.res | $bsc others runtime -o test/test_static_catch_ident.cmi test/test_static_catch_ident.cmj : cc test/test_static_catch_ident.res | $bsc others runtime -o test/test_string.cmi test/test_string.cmj : cc test/test_string.res | $bsc others runtime -o test/test_string_case.cmi test/test_string_case.cmj : cc test/test_string_case.res | $bsc others runtime -o test/test_string_const.cmi test/test_string_const.cmj : cc test/test_string_const.res | $bsc others runtime -o test/test_string_map.cmi test/test_string_map.cmj : cc test/test_string_map.res | $bsc others runtime -o test/test_string_switch.cmi test/test_string_switch.cmj : cc test/test_string_switch.res | $bsc others runtime -o test/test_switch.cmi test/test_switch.cmj : cc test/test_switch.res | $bsc others runtime -o test/test_trywith.cmi test/test_trywith.cmj : cc test/test_trywith.res | $bsc others runtime -o test/test_tuple.cmi test/test_tuple.cmj : cc test/test_tuple.res | $bsc others runtime -o test/test_tuple_destructring.cmi test/test_tuple_destructring.cmj : cc test/test_tuple_destructring.res | $bsc others runtime -o test/test_type_based_arity.cmi test/test_type_based_arity.cmj : cc test/test_type_based_arity.res | test/abstract_type.cmj $bsc others runtime -o test/test_u.cmi test/test_u.cmj : cc test/test_u.res | $bsc others runtime -o test/test_unknown.cmi test/test_unknown.cmj : cc test/test_unknown.res | $bsc others runtime -o test/test_unsafe_cmp.cmi test/test_unsafe_cmp.cmj : cc test/test_unsafe_cmp.res | $bsc others runtime -o test/test_unsafe_obj_ffi.cmj : cc_cmi test/test_unsafe_obj_ffi.res | test/test_unsafe_obj_ffi.cmi $bsc others runtime -o test/test_unsafe_obj_ffi.cmi : cc test/test_unsafe_obj_ffi.resi | $bsc others runtime -o test/test_unsafe_obj_ffi_ppx.cmj : cc_cmi test/test_unsafe_obj_ffi_ppx.res | test/test_unsafe_obj_ffi_ppx.cmi $bsc others runtime -o test/test_unsafe_obj_ffi_ppx.cmi : cc test/test_unsafe_obj_ffi_ppx.resi | $bsc others runtime -o test/test_while_closure.cmi test/test_while_closure.cmj : cc test/test_while_closure.res | $bsc others runtime -o test/test_while_side_effect.cmi test/test_while_side_effect.cmj : cc test/test_while_side_effect.res | $bsc others runtime -o test/test_zero_nullable.cmi test/test_zero_nullable.cmj : cc test/test_zero_nullable.res | test/mt.cmj $bsc others runtime -o test/then_mangle_test.cmi test/then_mangle_test.cmj : cc test/then_mangle_test.res | test/mt.cmj $bsc others runtime -o test/ticker.cmi test/ticker.cmj : cc test/ticker.res | $bsc others runtime -o test/to_string_test.cmi test/to_string_test.cmj : cc test/to_string_test.res | test/mt.cmj $bsc others runtime -o test/topsort_test.cmi test/topsort_test.cmj : cc test/topsort_test.res | $bsc others runtime -o test/tramp_fib.cmi test/tramp_fib.cmj : cc test/tramp_fib.res | test/mt.cmj $bsc others runtime -o test/tuple_alloc.cmi test/tuple_alloc.cmj : cc test/tuple_alloc.res | $bsc others runtime -o test/type-coercion-free-vars.cmi test/type-coercion-free-vars.cmj : cc test/type-coercion-free-vars.res | $bsc others runtime -o test/type_disambiguate.cmi test/type_disambiguate.cmj : cc test/type_disambiguate.res | $bsc others runtime -o test/typeof_test.cmi test/typeof_test.cmj : cc test/typeof_test.res | test/mt.cmj $bsc others runtime -o test/unboxed_attribute.cmi test/unboxed_attribute.cmj : cc test/unboxed_attribute.res | $bsc others runtime -o test/unboxed_attribute_test.cmi test/unboxed_attribute_test.cmj : cc test/unboxed_attribute_test.res | test/mt.cmj $bsc others runtime -o test/unboxed_crash.cmi test/unboxed_crash.cmj : cc test/unboxed_crash.res | $bsc others runtime -o test/unboxed_use_case.cmj : cc_cmi test/unboxed_use_case.res | test/unboxed_use_case.cmi $bsc others runtime -o test/unboxed_use_case.cmi : cc test/unboxed_use_case.resi | $bsc others runtime -o test/uncurried_cast.cmi test/uncurried_cast.cmj : cc test/uncurried_cast.res | $bsc others runtime -o test/uncurried_default.args.cmi test/uncurried_default.args.cmj : cc test/uncurried_default.args.res | $bsc others runtime -o test/uncurried_pipe.cmi test/uncurried_pipe.cmj : cc test/uncurried_pipe.res | $bsc others runtime -o test/uncurry_external_test.cmi test/uncurry_external_test.cmj : cc test/uncurry_external_test.res | test/mt.cmj $bsc others runtime -o test/uncurry_glob_test.cmi test/uncurry_glob_test.cmj : cc test/uncurry_glob_test.res | $bsc others runtime -o test/uncurry_test.cmj : cc_cmi test/uncurry_test.res | test/uncurry_test.cmi $bsc others runtime -o test/uncurry_test.cmi : cc test/uncurry_test.resi | $bsc others runtime -o test/undef_regression_test.cmi test/undef_regression_test.cmj : cc test/undef_regression_test.res | $bsc others runtime -o test/unit_undefined_test.cmi test/unit_undefined_test.cmj : cc test/unit_undefined_test.res | test/mt.cmj $bsc others runtime -o test/unsafe_full_apply_primitive.cmi test/unsafe_full_apply_primitive.cmj : cc test/unsafe_full_apply_primitive.res | $bsc others runtime -o test/unsafe_ppx_test.cmi test/unsafe_ppx_test.cmj : cc test/unsafe_ppx_test.res | test/ffi_js_test.cmj test/mt.cmj $bsc others runtime -o test/update_record_test.cmi test/update_record_test.cmj : cc test/update_record_test.res | test/mt.cmj $bsc others runtime -o test/variant.cmi test/variant.cmj : cc test/variant.res | $bsc others runtime -o test/variantsMatching.cmi test/variantsMatching.cmj : cc test/variantsMatching.res | $bsc others runtime -o test/webpack_config.cmi test/webpack_config.cmj : cc test/webpack_config.res | $bsc others runtime -o test : phony test/AsInUncurriedExternals.cmi test/AsInUncurriedExternals.cmj test/Coercion.cmi test/Coercion.cmj test/DerivingAccessorsCurried.cmi test/DerivingAccessorsCurried.cmj test/DerivingAccessorsUncurried.cmi test/DerivingAccessorsUncurried.cmj test/DictInference.cmi test/DictInference.cmj test/DictInternalRepresentation.cmi test/DictInternalRepresentation.cmj test/DictTests.cmi test/DictTests.cmj test/DisambiguateOptionalFields.cmi test/DisambiguateOptionalFields.cmj test/DotDotDot.cmi test/DotDotDot.cmj test/EmptyRecord.cmi test/EmptyRecord.cmj test/ExternalArity.cmi test/ExternalArity.cmj test/FFI.cmi test/FFI.cmj test/Import.cmi test/Import.cmj test/ImportAttributes.cmi test/ImportAttributes.cmj test/PartialApplicationNoRuntimeCurry.cmi test/PartialApplicationNoRuntimeCurry.cmj test/RecordCoercion.cmi test/RecordCoercion.cmj test/RecordOrObject.cmi test/RecordOrObject.cmj test/SafePromises.cmi test/SafePromises.cmj test/UncurriedAlways.cmi test/UncurriedAlways.cmj test/UncurriedExternals.cmi test/UncurriedExternals.cmj test/UncurriedPervasives.cmi test/UncurriedPervasives.cmj test/UntaggedVariants.cmi test/UntaggedVariants.cmj test/VariantCoercion.cmi test/VariantCoercion.cmj test/VariantPatternMatchingSpreads.cmi test/VariantPatternMatchingSpreads.cmj test/VariantPatternMatchingSpreadsWithPayloads.cmi test/VariantPatternMatchingSpreadsWithPayloads.cmj test/VariantSpreads.cmi test/VariantSpreads.cmj test/a.cmi test/a.cmj test/a_recursive_type.cmi test/a_recursive_type.cmj test/a_scope_bug.cmi test/a_scope_bug.cmj test/abstract_type.cmi test/abstract_type.cmj test/adt_optimize_test.cmi test/adt_optimize_test.cmj test/alias_default_value_test.cmi test/alias_default_value_test.cmj test/alias_test.cmi test/alias_test.cmj test/and_or_tailcall_test.cmi test/and_or_tailcall_test.cmj test/ari_regress_test.cmi test/ari_regress_test.cmj test/arith_syntax.cmi test/arith_syntax.cmj test/arity.cmi test/arity.cmj test/arity_deopt.cmi test/arity_deopt.cmj test/arity_infer.cmi test/arity_infer.cmj test/array_data_util.cmi test/array_data_util.cmj test/array_safe_get.cmi test/array_safe_get.cmj test/array_subtle_test.cmi test/array_subtle_test.cmj test/as_inline_record_test.cmi test/as_inline_record_test.cmj test/ast_abstract_test.cmi test/ast_abstract_test.cmj test/ast_mapper_unused_warning_test.cmi test/ast_mapper_unused_warning_test.cmj test/async_await.cmi test/async_await.cmj test/async_inline.cmi test/async_inline.cmj test/async_inside_loop.cmi test/async_inside_loop.cmj test/attr_test.cmi test/attr_test.cmj test/b.cmi test/b.cmj test/bal_set_mini.cmi test/bal_set_mini.cmj test/bb.cmi test/bb.cmj test/bdd.cmi test/bdd.cmj test/belt_float_ntest.cmi test/belt_float_ntest.cmj test/belt_hashmap_ntest.cmi test/belt_hashmap_ntest.cmj test/belt_hashset_int_ntest.cmi test/belt_hashset_int_ntest.cmj test/belt_int_ntest.cmi test/belt_int_ntest.cmj test/belt_internal_test.cmi test/belt_internal_test.cmj test/belt_list_ntest.cmi test/belt_list_ntest.cmj test/belt_mapint_ntest.cmi test/belt_mapint_ntest.cmj test/belt_result_alias_test.cmi test/belt_result_alias_test.cmj test/belt_sortarray_ntest.cmi test/belt_sortarray_ntest.cmj test/bench.cmi test/bench.cmj test/big_enum.cmi test/big_enum.cmj test/big_polyvar_test.cmi test/big_polyvar_test.cmj test/bigint_test.cmi test/bigint_test.cmj test/block_alias_test.cmi test/block_alias_test.cmj test/boolean_test.cmi test/boolean_test.cmj test/bs_abstract_test.cmi test/bs_abstract_test.cmj test/bs_array_test.cmi test/bs_array_test.cmj test/bs_auto_uncurry.cmi test/bs_auto_uncurry.cmj test/bs_auto_uncurry_test.cmi test/bs_auto_uncurry_test.cmj test/bs_ignore_effect.cmi test/bs_ignore_effect.cmj test/bs_ignore_test.cmi test/bs_ignore_test.cmj test/bs_map_set_dict_test.cmi test/bs_map_set_dict_test.cmj test/bs_map_test.cmi test/bs_map_test.cmj test/bs_min_max_test.cmi test/bs_min_max_test.cmj test/bs_mutable_set_test.cmi test/bs_mutable_set_test.cmj test/bs_poly_map_test.cmi test/bs_poly_map_test.cmj test/bs_poly_mutable_map_test.cmi test/bs_poly_mutable_map_test.cmj test/bs_poly_mutable_set_test.cmi test/bs_poly_mutable_set_test.cmj test/bs_poly_set_test.cmi test/bs_poly_set_test.cmj test/bs_qualified.cmi test/bs_qualified.cmj test/bs_queue_test.cmi test/bs_queue_test.cmj test/bs_rest_test.cmi test/bs_rest_test.cmj test/bs_set_int_test.cmi test/bs_set_int_test.cmj test/bs_splice_partial.cmi test/bs_splice_partial.cmj test/bs_stack_test.cmi test/bs_stack_test.cmj test/bs_string_test.cmi test/bs_string_test.cmj test/bs_unwrap_test.cmi test/bs_unwrap_test.cmj test/caml_compare_bigint_test.cmi test/caml_compare_bigint_test.cmj test/caml_compare_test.cmi test/caml_compare_test.cmj test/chain_code_test.cmi test/chain_code_test.cmj test/chn_test.cmi test/chn_test.cmj test/class_type_ffi_test.cmi test/class_type_ffi_test.cmj test/coercion_module_alias_test.cmi test/coercion_module_alias_test.cmj test/compare_test.cmi test/compare_test.cmj test/complete_parmatch_test.cmi test/complete_parmatch_test.cmj test/complex_while_loop.cmi test/complex_while_loop.cmj test/condition_compilation_test.cmi test/condition_compilation_test.cmj test/config1_test.cmi test/config1_test.cmj test/console_log_test.cmi test/console_log_test.cmj test/const_block_test.cmi test/const_block_test.cmj test/const_defs.cmi test/const_defs.cmj test/const_defs_test.cmi test/const_defs_test.cmj test/const_test.cmi test/const_test.cmj test/cont_int_fold_test.cmi test/cont_int_fold_test.cmj test/cps_test.cmi test/cps_test.cmj test/cross_module_inline_test.cmi test/cross_module_inline_test.cmj test/custom_error_test.cmi test/custom_error_test.cmj test/debug_keep_test.cmi test/debug_keep_test.cmj test/debug_mode_value.cmi test/debug_mode_value.cmj test/debug_tmp.cmi test/debug_tmp.cmj test/debugger_test.cmi test/debugger_test.cmj test/default_export_test.cmi test/default_export_test.cmj test/defunctor_make_test.cmi test/defunctor_make_test.cmj test/demo_int_map.cmi test/demo_int_map.cmj test/demo_page.cmi test/demo_page.cmj test/demo_pipe.cmi test/demo_pipe.cmj test/derive_projector_test.cmi test/derive_projector_test.cmj test/directives.cmi test/directives.cmj test/div_by_zero_test.cmi test/div_by_zero_test.cmj test/dollar_escape_test.cmi test/dollar_escape_test.cmj test/earger_curry_test.cmi test/earger_curry_test.cmj test/effect.cmi test/effect.cmj test/epsilon_test.cmi test/epsilon_test.cmj test/equal_box_test.cmi test/equal_box_test.cmj test/equal_exception_test.cmi test/equal_exception_test.cmj test/equal_test.cmi test/equal_test.cmj test/es6_export.cmi test/es6_export.cmj test/es6_import.cmi test/es6_import.cmj test/es6_module_test.cmi test/es6_module_test.cmj test/escape_esmodule.cmi test/escape_esmodule.cmj test/esmodule_ref.cmi test/esmodule_ref.cmj test/event_ffi.cmi test/event_ffi.cmj test/exception_alias.cmi test/exception_alias.cmj test/exception_raise_test.cmi test/exception_raise_test.cmj test/exception_rebound_err_test.cmi test/exception_rebound_err_test.cmj test/exception_value_test.cmi test/exception_value_test.cmj test/exotic_labels_test.cmi test/exotic_labels_test.cmj test/exponentiation_precedence_test.cmi test/exponentiation_precedence_test.cmj test/export_keyword.cmi test/export_keyword.cmj test/ext_array_test.cmi test/ext_array_test.cmj test/ext_pervasives_test.cmi test/ext_pervasives_test.cmj test/extensible_variant_test.cmi test/extensible_variant_test.cmj test/external_ppx.cmi test/external_ppx.cmj test/external_ppx2.cmi test/external_ppx2.cmj test/ffi_arity_test.cmi test/ffi_arity_test.cmj test/ffi_array_test.cmi test/ffi_array_test.cmj test/ffi_js_test.cmi test/ffi_js_test.cmj test/ffi_splice_test.cmi test/ffi_splice_test.cmj test/ffi_test.cmi test/ffi_test.cmj test/fib.cmi test/fib.cmj test/flattern_order_test.cmi test/flattern_order_test.cmj test/flexible_array_test.cmi test/flexible_array_test.cmj test/float_array.cmi test/float_array.cmj test/float_record.cmi test/float_record.cmj test/float_test.cmi test/float_test.cmj test/for_loop_test.cmi test/for_loop_test.cmj test/for_side_effect_test.cmi test/for_side_effect_test.cmj test/format_regression.cmi test/format_regression.cmj test/fun_pattern_match.cmi test/fun_pattern_match.cmj test/function_directives.cmi test/function_directives.cmj test/function_directives_no_inline.cmi test/function_directives_no_inline.cmj test/functor_app_test.cmi test/functor_app_test.cmj test/functor_def.cmi test/functor_def.cmj test/functor_ffi.cmi test/functor_ffi.cmj test/functor_inst.cmi test/functor_inst.cmj test/functors.cmi test/functors.cmj test/gbk.cmi test/gbk.cmj test/gentTypeReTest.cmi test/gentTypeReTest.cmj test/global_exception_regression_test.cmi test/global_exception_regression_test.cmj test/global_mangles.cmi test/global_mangles.cmj test/global_module_alias_test.cmi test/global_module_alias_test.cmj test/google_closure_test.cmi test/google_closure_test.cmj test/gpr496_test.cmi test/gpr496_test.cmj test/gpr_1072.cmi test/gpr_1072.cmj test/gpr_1072_reg.cmi test/gpr_1072_reg.cmj test/gpr_1150.cmi test/gpr_1150.cmj test/gpr_1170.cmi test/gpr_1170.cmj test/gpr_1240_missing_unbox.cmi test/gpr_1240_missing_unbox.cmj test/gpr_1245_test.cmi test/gpr_1245_test.cmj test/gpr_1268.cmi test/gpr_1268.cmj test/gpr_1409_test.cmi test/gpr_1409_test.cmj test/gpr_1423_app_test.cmi test/gpr_1423_app_test.cmj test/gpr_1423_nav.cmi test/gpr_1423_nav.cmj test/gpr_1438.cmi test/gpr_1438.cmj test/gpr_1481.cmi test/gpr_1481.cmj test/gpr_1484.cmi test/gpr_1484.cmj test/gpr_1539_test.cmi test/gpr_1539_test.cmj test/gpr_1658_test.cmi test/gpr_1658_test.cmj test/gpr_1667_test.cmi test/gpr_1667_test.cmj test/gpr_1692_test.cmi test/gpr_1692_test.cmj test/gpr_1698_test.cmi test/gpr_1698_test.cmj test/gpr_1701_test.cmi test/gpr_1701_test.cmj test/gpr_1716_test.cmi test/gpr_1716_test.cmj test/gpr_1717_test.cmi test/gpr_1717_test.cmj test/gpr_1728_test.cmi test/gpr_1728_test.cmj test/gpr_1749_test.cmi test/gpr_1749_test.cmj test/gpr_1759_test.cmi test/gpr_1759_test.cmj test/gpr_1760_test.cmi test/gpr_1760_test.cmj test/gpr_1762_test.cmi test/gpr_1762_test.cmj test/gpr_1817_test.cmi test/gpr_1817_test.cmj test/gpr_1822_test.cmi test/gpr_1822_test.cmj test/gpr_1891_test.cmi test/gpr_1891_test.cmj test/gpr_1943_test.cmi test/gpr_1943_test.cmj test/gpr_1946_test.cmi test/gpr_1946_test.cmj test/gpr_2316_test.cmi test/gpr_2316_test.cmj test/gpr_2352_test.cmi test/gpr_2352_test.cmj test/gpr_2413_test.cmi test/gpr_2413_test.cmj test/gpr_2474.cmi test/gpr_2474.cmj test/gpr_2487.cmi test/gpr_2487.cmj test/gpr_2503_test.cmi test/gpr_2503_test.cmj test/gpr_2608_test.cmi test/gpr_2608_test.cmj test/gpr_2614_test.cmi test/gpr_2614_test.cmj test/gpr_2633_test.cmi test/gpr_2633_test.cmj test/gpr_2642_test.cmi test/gpr_2642_test.cmj test/gpr_2682_test.cmi test/gpr_2682_test.cmj test/gpr_2700_test.cmi test/gpr_2700_test.cmj test/gpr_2731_test.cmi test/gpr_2731_test.cmj test/gpr_2789_test.cmi test/gpr_2789_test.cmj test/gpr_2931_test.cmi test/gpr_2931_test.cmj test/gpr_3142_test.cmi test/gpr_3142_test.cmj test/gpr_3154_test.cmi test/gpr_3154_test.cmj test/gpr_3209_test.cmi test/gpr_3209_test.cmj test/gpr_3492_test.cmi test/gpr_3492_test.cmj test/gpr_3519_jsx_test.cmi test/gpr_3519_jsx_test.cmj test/gpr_3519_test.cmi test/gpr_3519_test.cmj test/gpr_3536_test.cmi test/gpr_3536_test.cmj test/gpr_3546_test.cmi test/gpr_3546_test.cmj test/gpr_3548_test.cmi test/gpr_3548_test.cmj test/gpr_3549_test.cmi test/gpr_3549_test.cmj test/gpr_3566_drive_test.cmi test/gpr_3566_drive_test.cmj test/gpr_3566_test.cmi test/gpr_3566_test.cmj test/gpr_3595_test.cmi test/gpr_3595_test.cmj test/gpr_3609_test.cmi test/gpr_3609_test.cmj test/gpr_3697_test.cmi test/gpr_3697_test.cmj test/gpr_373_test.cmi test/gpr_373_test.cmj test/gpr_3770_test.cmi test/gpr_3770_test.cmj test/gpr_3852_alias.cmi test/gpr_3852_alias.cmj test/gpr_3852_alias_reify.cmi test/gpr_3852_alias_reify.cmj test/gpr_3852_effect.cmi test/gpr_3852_effect.cmj test/gpr_3865.cmi test/gpr_3865.cmj test/gpr_3865_bar.cmi test/gpr_3865_bar.cmj test/gpr_3865_foo.cmi test/gpr_3865_foo.cmj test/gpr_3875_test.cmi test/gpr_3875_test.cmj test/gpr_3877_test.cmi test/gpr_3877_test.cmj test/gpr_3895_test.cmi test/gpr_3895_test.cmj test/gpr_3897_test.cmi test/gpr_3897_test.cmj test/gpr_3931_test.cmi test/gpr_3931_test.cmj test/gpr_3980_test.cmi test/gpr_3980_test.cmj test/gpr_4025_test.cmi test/gpr_4025_test.cmj test/gpr_4069_test.cmi test/gpr_4069_test.cmj test/gpr_4265_test.cmi test/gpr_4265_test.cmj test/gpr_4274_test.cmi test/gpr_4274_test.cmj test/gpr_4280_test.cmi test/gpr_4280_test.cmj test/gpr_4407_test.cmi test/gpr_4407_test.cmj test/gpr_441.cmi test/gpr_441.cmj test/gpr_4442_test.cmi test/gpr_4442_test.cmj test/gpr_4491_test.cmi test/gpr_4491_test.cmj test/gpr_4494_test.cmi test/gpr_4494_test.cmj test/gpr_4519_test.cmi test/gpr_4519_test.cmj test/gpr_459_test.cmi test/gpr_459_test.cmj test/gpr_4632.cmi test/gpr_4632.cmj test/gpr_4639_test.cmi test/gpr_4639_test.cmj test/gpr_4900_test.cmi test/gpr_4900_test.cmj test/gpr_4924_test.cmi test/gpr_4924_test.cmj test/gpr_4931.cmi test/gpr_4931.cmj test/gpr_4931_allow.cmi test/gpr_4931_allow.cmj test/gpr_5071_test.cmi test/gpr_5071_test.cmj test/gpr_5169_test.cmi test/gpr_5169_test.cmj test/gpr_5218_test.cmi test/gpr_5218_test.cmj test/gpr_5280_optimize_test.cmi test/gpr_5280_optimize_test.cmj test/gpr_5557.cmi test/gpr_5557.cmj test/gpr_5753.cmi test/gpr_5753.cmj test/gpr_658.cmi test/gpr_658.cmj test/gpr_7012_test.cmi test/gpr_7012_test.cmj test/gpr_858_test.cmi test/gpr_858_test.cmj test/gpr_858_unit2_test.cmi test/gpr_858_unit2_test.cmj test/gpr_904_test.cmi test/gpr_904_test.cmj test/gpr_974_test.cmi test/gpr_974_test.cmj test/gpr_977_test.cmi test/gpr_977_test.cmj test/gpr_return_type_unused_attribute.cmi test/gpr_return_type_unused_attribute.cmj test/gray_code_test.cmi test/gray_code_test.cmj test/guide_for_ext.cmi test/guide_for_ext.cmj test/hash_collision_test.cmi test/hash_collision_test.cmj test/hash_sugar_desugar.cmi test/hash_sugar_desugar.cmj test/hash_test.cmi test/hash_test.cmj test/hello.foo.cmi test/hello.foo.cmj test/hello_res.cmi test/hello_res.cmj test/ignore_test.cmi test/ignore_test.cmj test/ignore_uncurry_attribute.cmi test/ignore_uncurry_attribute.cmj test/import2.cmi test/import2.cmj test/import_external.cmi test/import_external.cmj test/import_side_effect.cmi test/import_side_effect.cmj test/import_side_effect_free.cmi test/import_side_effect_free.cmj test/include_side_effect.cmi test/include_side_effect.cmj test/include_side_effect_free.cmi test/include_side_effect_free.cmj test/incomplete_toplevel_test.cmi test/incomplete_toplevel_test.cmj test/infer_type_test.cmi test/infer_type_test.cmj test/inline_condition_with_pattern_matching.cmi test/inline_condition_with_pattern_matching.cmj test/inline_const.cmi test/inline_const.cmj test/inline_const_test.cmi test/inline_const_test.cmj test/inline_edge_cases.cmi test/inline_edge_cases.cmj test/inline_map2_test.cmi test/inline_map2_test.cmj test/inline_map_demo.cmi test/inline_map_demo.cmj test/inline_map_test.cmi test/inline_map_test.cmj test/inline_record_test.cmi test/inline_record_test.cmj test/inline_regression_test.cmi test/inline_regression_test.cmj test/inline_string_test.cmi test/inline_string_test.cmj test/inner_call.cmi test/inner_call.cmj test/inner_define.cmi test/inner_define.cmj test/inner_unused.cmi test/inner_unused.cmj test/installation_test.cmi test/installation_test.cmj test/int_map.cmi test/int_map.cmj test/int_overflow_test.cmi test/int_overflow_test.cmj test/int_poly_var.cmi test/int_poly_var.cmj test/int_switch_test.cmi test/int_switch_test.cmj test/internal_unused_test.cmi test/internal_unused_test.cmj test/js_array_test.cmi test/js_array_test.cmj test/js_bool_test.cmi test/js_bool_test.cmj test/js_cast_test.cmi test/js_cast_test.cmj test/js_date_test.cmi test/js_date_test.cmj test/js_dict_test.cmi test/js_dict_test.cmj test/js_exception_catch_test.cmi test/js_exception_catch_test.cmj test/js_float_test.cmi test/js_float_test.cmj test/js_global_test.cmi test/js_global_test.cmj test/js_int_test.cmi test/js_int_test.cmj test/js_json_test.cmi test/js_json_test.cmj test/js_math_test.cmi test/js_math_test.cmj test/js_null_test.cmi test/js_null_test.cmj test/js_null_undefined_test.cmi test/js_null_undefined_test.cmj test/js_nullable_test.cmi test/js_nullable_test.cmj test/js_obj_test.cmi test/js_obj_test.cmj test/js_option_test.cmi test/js_option_test.cmj test/js_re_test.cmi test/js_re_test.cmj test/js_string_test.cmi test/js_string_test.cmj test/js_undefined_test.cmi test/js_undefined_test.cmj test/js_val.cmi test/js_val.cmj test/jsoo_400_test.cmi test/jsoo_400_test.cmj test/jsoo_485_test.cmi test/jsoo_485_test.cmj test/jsxv4_newtype.cmi test/jsxv4_newtype.cmj test/keep_uncurry_attribute.cmi test/keep_uncurry_attribute.cmj test/key_word_property.cmi test/key_word_property.cmj test/key_word_property2.cmi test/key_word_property2.cmj test/key_word_property_plus_test.cmi test/key_word_property_plus_test.cmj test/label_uncurry.cmi test/label_uncurry.cmj test/large_integer_pat.cmi test/large_integer_pat.cmj test/large_record_duplication_test.cmi test/large_record_duplication_test.cmj test/largest_int_flow.cmi test/largest_int_flow.cmj test/lazy_demo.cmi test/lazy_demo.cmj test/lazy_test.cmi test/lazy_test.cmj test/lib_js_test.cmi test/lib_js_test.cmj test/limits_test.cmi test/limits_test.cmj test/list_test.cmi test/list_test.cmj test/local_exception_test.cmi test/local_exception_test.cmj test/loop_regression_test.cmi test/loop_regression_test.cmj test/map_find_test.cmi test/map_find_test.cmj test/mario_game.cmi test/mario_game.cmj test/meth_annotation.cmi test/meth_annotation.cmj test/method_name_test.cmi test/method_name_test.cmj test/method_string_name.cmi test/method_string_name.cmj test/minimal_test.cmi test/minimal_test.cmj test/miss_colon_test.cmi test/miss_colon_test.cmj test/mock_mt.cmi test/mock_mt.cmj test/module_alias_test.cmi test/module_alias_test.cmj test/module_as_class_ffi.cmi test/module_as_class_ffi.cmj test/module_as_function.cmi test/module_as_function.cmj test/module_missing_conversion.cmi test/module_missing_conversion.cmj test/module_parameter_test.cmi test/module_parameter_test.cmj test/module_splice_test.cmi test/module_splice_test.cmj test/more_poly_variant_test.cmi test/more_poly_variant_test.cmj test/more_uncurry.cmi test/more_uncurry.cmj test/mpr_6033_test.cmi test/mpr_6033_test.cmj test/mt.cmi test/mt.cmj test/mt_global.cmi test/mt_global.cmj test/mutable_obj_test.cmi test/mutable_obj_test.cmj test/mutable_uncurry_test.cmi test/mutable_uncurry_test.cmj test/mutual_non_recursive_type.cmi test/mutual_non_recursive_type.cmj test/name_mangle_test.cmi test/name_mangle_test.cmj test/nested_include.cmi test/nested_include.cmj test/nested_module_alias.cmi test/nested_module_alias.cmj test/nested_obj_literal.cmi test/nested_obj_literal.cmj test/nested_obj_test.cmi test/nested_obj_test.cmj test/nested_pattern_match_test.cmi test/nested_pattern_match_test.cmj test/noassert.cmi test/noassert.cmj test/node_assert.cmi test/node_assert.cmj test/node_path_test.cmi test/node_path_test.cmj test/node_test.cmi test/node_test.cmj test/node_test_util.cmi test/node_test_util.cmj test/obj_literal_ppx.cmi test/obj_literal_ppx.cmj test/obj_literal_ppx_test.cmi test/obj_literal_ppx_test.cmj test/obj_magic_test.cmi test/obj_magic_test.cmj test/obj_type_test.cmi test/obj_type_test.cmj test/offset.cmi test/offset.cmj test/omit_trailing_undefined_in_external_calls.cmi test/omit_trailing_undefined_in_external_calls.cmj test/option_encoding_test.cmi test/option_encoding_test.cmj test/option_repr_test.cmi test/option_repr_test.cmj test/optional_ffi_test.cmi test/optional_ffi_test.cmj test/optional_regression_test.cmi test/optional_regression_test.cmj test/pipe_send_readline.cmi test/pipe_send_readline.cmj test/pipe_syntax.cmi test/pipe_syntax.cmj test/poly_empty_array.cmi test/poly_empty_array.cmj test/poly_variant_test.cmi test/poly_variant_test.cmj test/polymorphic_raw_test.cmi test/polymorphic_raw_test.cmj test/polymorphism_test.cmi test/polymorphism_test.cmj test/polyvar_convert.cmi test/polyvar_convert.cmj test/polyvar_test.cmi test/polyvar_test.cmj test/ppx_apply_test.cmi test/ppx_apply_test.cmj test/pq_test.cmi test/pq_test.cmj test/pr6726.cmi test/pr6726.cmj test/prepend_data_ffi.cmi test/prepend_data_ffi.cmj test/print_alpha_test.cmi test/print_alpha_test.cmj test/queue_402.cmi test/queue_402.cmj test/raw_output_test.cmi test/raw_output_test.cmj test/raw_pure_test.cmi test/raw_pure_test.cmj test/rbset.cmi test/rbset.cmj test/react.cmi test/react.cmj test/reactDOMRe.cmi test/reactDOMRe.cmj test/reactDOMServerRe.cmi test/reactDOMServerRe.cmj test/reactEvent.cmi test/reactEvent.cmj test/reactTestUtils.cmi test/reactTestUtils.cmj test/reasonReact.cmi test/reasonReact.cmj test/reasonReactCompat.cmi test/reasonReactCompat.cmj test/reasonReactOptimizedCreateClass.cmi test/reasonReactOptimizedCreateClass.cmj test/reasonReactRouter.cmi test/reasonReactRouter.cmj test/rebind_module.cmi test/rebind_module.cmj test/rebind_module_test.cmi test/rebind_module_test.cmj test/rec_array_test.cmi test/rec_array_test.cmj test/rec_fun_test.cmi test/rec_fun_test.cmj test/rec_module_opt.cmi test/rec_module_opt.cmj test/rec_module_test.cmi test/rec_module_test.cmj test/recmodule.cmi test/recmodule.cmj test/record_debug_test.cmi test/record_debug_test.cmj test/record_extension_test.cmi test/record_extension_test.cmj test/record_name_test.cmi test/record_name_test.cmj test/record_regression.cmi test/record_regression.cmj test/record_type_spread.cmi test/record_type_spread.cmj test/record_with_test.cmi test/record_with_test.cmj test/recursive_module.cmi test/recursive_module.cmj test/recursive_module_test.cmi test/recursive_module_test.cmj test/recursive_react_component.cmi test/recursive_react_component.cmj test/recursive_records_test.cmi test/recursive_records_test.cmj test/recursive_unbound_module_test.cmi test/recursive_unbound_module_test.cmj test/regression_print.cmi test/regression_print.cmj test/relative_path.cmi test/relative_path.cmj test/res_debug.cmi test/res_debug.cmj test/return_check.cmi test/return_check.cmj test/runtime_encoding_test.cmi test/runtime_encoding_test.cmj test/set_annotation.cmi test/set_annotation.cmj test/set_gen.cmi test/set_gen.cmj test/side_effect.cmi test/side_effect.cmj test/side_effect2.cmi test/side_effect2.cmj test/side_effect_free.cmi test/side_effect_free.cmj test/simplify_lambda_632o.cmi test/simplify_lambda_632o.cmj test/singular_unit_test.cmi test/singular_unit_test.cmj test/small_inline_test.cmi test/small_inline_test.cmj test/splice_test.cmi test/splice_test.cmj test/string_bound_get_test.cmi test/string_bound_get_test.cmj test/string_constant_compare.cmi test/string_constant_compare.cmj test/string_set.cmi test/string_set.cmj test/string_set_test.cmi test/string_set_test.cmj test/string_unicode_test.cmi test/string_unicode_test.cmj test/stringmatch_test.cmi test/stringmatch_test.cmj test/submodule.cmi test/submodule.cmj test/submodule_call.cmi test/submodule_call.cmj test/switch_case_test.cmi test/switch_case_test.cmj test/switch_string.cmi test/switch_string.cmj test/tagged_template_test.cmi test/tagged_template_test.cmj test/tailcall_inline_test.cmi test/tailcall_inline_test.cmj test/template.cmi test/template.cmj test/test2.cmi test/test2.cmj test/test_ari.cmi test/test_ari.cmj test/test_array.cmi test/test_array.cmj test/test_array_append.cmi test/test_array_append.cmj test/test_bool_equal.cmi test/test_bool_equal.cmj test/test_bs_this.cmi test/test_bs_this.cmj test/test_case_opt_collision.cmi test/test_case_opt_collision.cmj test/test_case_set.cmi test/test_case_set.cmj test/test_char.cmi test/test_char.cmj test/test_closure.cmi test/test_closure.cmj test/test_common.cmi test/test_common.cmj test/test_const_elim.cmi test/test_const_elim.cmj test/test_const_propogate.cmi test/test_const_propogate.cmj test/test_cpp.cmi test/test_cpp.cmj test/test_cps.cmi test/test_cps.cmj test/test_demo.cmi test/test_demo.cmj test/test_dup_param.cmi test/test_dup_param.cmj test/test_eq.cmi test/test_eq.cmj test/test_exception.cmi test/test_exception.cmj test/test_exception_escape.cmi test/test_exception_escape.cmj test/test_export2.cmi test/test_export2.cmj test/test_external.cmi test/test_external.cmj test/test_external_unit.cmi test/test_external_unit.cmj test/test_ffi.cmi test/test_ffi.cmj test/test_fib.cmi test/test_fib.cmj test/test_for_loop.cmi test/test_for_loop.cmj test/test_for_map.cmi test/test_for_map.cmj test/test_for_map2.cmi test/test_for_map2.cmj test/test_functor_dead_code.cmi test/test_functor_dead_code.cmj test/test_generative_module.cmi test/test_generative_module.cmj test/test_google_closure.cmi test/test_google_closure.cmj test/test_include.cmi test/test_include.cmj test/test_incomplete.cmi test/test_incomplete.cmj test/test_incr_ref.cmi test/test_incr_ref.cmj test/test_int_map_find.cmi test/test_int_map_find.cmj test/test_is_js.cmi test/test_is_js.cmj test/test_js_ffi.cmi test/test_js_ffi.cmj test/test_let.cmi test/test_let.cmj test/test_list.cmi test/test_list.cmj test/test_literal.cmi test/test_literal.cmj test/test_literals.cmi test/test_literals.cmj test/test_match_exception.cmi test/test_match_exception.cmj test/test_nested_let.cmi test/test_nested_let.cmj test/test_nested_print.cmi test/test_nested_print.cmj test/test_non_export.cmi test/test_non_export.cmj test/test_nullary.cmi test/test_nullary.cmj test/test_obj.cmi test/test_obj.cmj test/test_order.cmi test/test_order.cmj test/test_order_tailcall.cmi test/test_order_tailcall.cmj test/test_other_exn.cmi test/test_other_exn.cmj test/test_per.cmi test/test_per.cmj test/test_pervasive.cmi test/test_pervasive.cmj test/test_pervasives3.cmi test/test_pervasives3.cmj test/test_primitive.cmi test/test_primitive.cmj test/test_ramification.cmi test/test_ramification.cmj test/test_react.cmi test/test_react.cmj test/test_react_case.cmi test/test_react_case.cmj test/test_regex.cmi test/test_regex.cmj test/test_runtime_encoding.cmi test/test_runtime_encoding.cmj test/test_scope.cmi test/test_scope.cmj test/test_seq.cmi test/test_seq.cmj test/test_set.cmi test/test_set.cmj test/test_side_effect_functor.cmi test/test_side_effect_functor.cmj test/test_simple_include.cmi test/test_simple_include.cmj test/test_simple_pattern_match.cmi test/test_simple_pattern_match.cmj test/test_simple_ref.cmi test/test_simple_ref.cmj test/test_simple_tailcall.cmi test/test_simple_tailcall.cmj test/test_small.cmi test/test_small.cmj test/test_static_catch_ident.cmi test/test_static_catch_ident.cmj test/test_string.cmi test/test_string.cmj test/test_string_case.cmi test/test_string_case.cmj test/test_string_const.cmi test/test_string_const.cmj test/test_string_map.cmi test/test_string_map.cmj test/test_string_switch.cmi test/test_string_switch.cmj test/test_switch.cmi test/test_switch.cmj test/test_trywith.cmi test/test_trywith.cmj test/test_tuple.cmi test/test_tuple.cmj test/test_tuple_destructring.cmi test/test_tuple_destructring.cmj test/test_type_based_arity.cmi test/test_type_based_arity.cmj test/test_u.cmi test/test_u.cmj test/test_unknown.cmi test/test_unknown.cmj test/test_unsafe_cmp.cmi test/test_unsafe_cmp.cmj test/test_unsafe_obj_ffi.cmi test/test_unsafe_obj_ffi.cmj test/test_unsafe_obj_ffi_ppx.cmi test/test_unsafe_obj_ffi_ppx.cmj test/test_while_closure.cmi test/test_while_closure.cmj test/test_while_side_effect.cmi test/test_while_side_effect.cmj test/test_zero_nullable.cmi test/test_zero_nullable.cmj test/then_mangle_test.cmi test/then_mangle_test.cmj test/ticker.cmi test/ticker.cmj test/to_string_test.cmi test/to_string_test.cmj test/topsort_test.cmi test/topsort_test.cmj test/tramp_fib.cmi test/tramp_fib.cmj test/tuple_alloc.cmi test/tuple_alloc.cmj test/type-coercion-free-vars.cmi test/type-coercion-free-vars.cmj test/type_disambiguate.cmi test/type_disambiguate.cmj test/typeof_test.cmi test/typeof_test.cmj test/unboxed_attribute.cmi test/unboxed_attribute.cmj test/unboxed_attribute_test.cmi test/unboxed_attribute_test.cmj test/unboxed_crash.cmi test/unboxed_crash.cmj test/unboxed_use_case.cmi test/unboxed_use_case.cmj test/uncurried_cast.cmi test/uncurried_cast.cmj test/uncurried_default.args.cmi test/uncurried_default.args.cmj test/uncurried_pipe.cmi test/uncurried_pipe.cmj test/uncurry_external_test.cmi test/uncurry_external_test.cmj test/uncurry_glob_test.cmi test/uncurry_glob_test.cmj test/uncurry_test.cmi test/uncurry_test.cmj test/undef_regression_test.cmi test/undef_regression_test.cmj test/unit_undefined_test.cmi test/unit_undefined_test.cmj test/unsafe_full_apply_primitive.cmi test/unsafe_full_apply_primitive.cmj test/unsafe_ppx_test.cmi test/unsafe_ppx_test.cmj test/update_record_test.cmi test/update_record_test.cmj test/variant.cmi test/variant.cmj test/variantsMatching.cmi test/variantsMatching.cmj test/webpack_config.cmi test/webpack_config.cmj diff --git a/jscomp/test/cyc/a_b.res b/jscomp/test/cyc/a_b.res deleted file mode 100644 index 6b12735b81..0000000000 --- a/jscomp/test/cyc/a_b.res +++ /dev/null @@ -1 +0,0 @@ -let v = B_a.v diff --git a/jscomp/test/cyc/b_a.res b/jscomp/test/cyc/b_a.res deleted file mode 100644 index e88b912536..0000000000 --- a/jscomp/test/cyc/b_a.res +++ /dev/null @@ -1 +0,0 @@ -let v = A_b.v diff --git a/jscomp/test/cyc/c.res b/jscomp/test/cyc/c.res deleted file mode 100644 index e88b912536..0000000000 --- a/jscomp/test/cyc/c.res +++ /dev/null @@ -1 +0,0 @@ -let v = A_b.v diff --git a/jscomp/test/es6_export.res b/jscomp/test/es6_export.res deleted file mode 100644 index f1d5fa417a..0000000000 --- a/jscomp/test/es6_export.res +++ /dev/null @@ -1,2 +0,0 @@ -@@config({flags: ["-bs-package-output", "es6:jscomp/test:.mjs"]}) -let default = 3 diff --git a/jscomp/test/es6_import.res b/jscomp/test/es6_import.res deleted file mode 100644 index 581f96dc69..0000000000 --- a/jscomp/test/es6_import.res +++ /dev/null @@ -1,2 +0,0 @@ -@@config({flags: ["-bs-package-output", "es6:jscomp/test:.mjs"]}) -Js.log(Es6_export.default) diff --git a/jscomp/test/glob/xlob_x.res b/jscomp/test/glob/xlob_x.res deleted file mode 100644 index 55f1eb2775..0000000000 --- a/jscomp/test/glob/xlob_x.res +++ /dev/null @@ -1 +0,0 @@ -let v = 3 diff --git a/jscomp/test/gpr_4931_allow.js b/jscomp/test/gpr_4931_allow.js deleted file mode 100644 index b94afa842c..0000000000 --- a/jscomp/test/gpr_4931_allow.js +++ /dev/null @@ -1,12 +0,0 @@ -// Generated by ReScript, PLEASE EDIT WITH CARE -'use strict'; - - -if(import.meta.hot) { - import.meta.hot.accept(); -}else{ - console.log("ok") -} -; - -/* Not a pure module */ diff --git a/jscomp/test/slot/test_concat.res b/jscomp/test/slot/test_concat.res deleted file mode 100644 index 63c6c8a084..0000000000 --- a/jscomp/test/slot/test_concat.res +++ /dev/null @@ -1,5 +0,0 @@ -let v = Pervasives.\"^" - -/* local variables: */ -/* compile-command: "ocamlc -drawlambda test_concat.ml" */ -/* end: */ diff --git a/package.json b/package.json index ea4352c4a8..8822fa5c47 100644 --- a/package.json +++ b/package.json @@ -43,14 +43,14 @@ }, "scripts": { "postinstall": "node cli/rescript_postinstall.js", - "test": "node scripts/ciTest.js -all", - "test-bsb": "node scripts/ciTest.js -bsb", - "test-ocaml": "node scripts/ciTest.js -ounit", + "test": "node scripts/test.js -all", + "test-bsb": "node scripts/test.js -bsb", + "test-ocaml": "node scripts/test.js -ounit", "format": "biome format --changed --no-errors-on-unmatched --write .", "format:all": "biome format --write .", "checkFormat": "biome format --changed --no-errors-on-unmatched .", "checkFormat:all": "biome format .", - "coverage": "nyc --timeout=3000 --reporter=html mocha jscomp/test/*test.js && open ./coverage/index.html" + "coverage": "nyc --timeout=3000 --reporter=html mocha tests/test/*test.js && open ./coverage/index.html" }, "files": [ "CHANGELOG.md", diff --git a/runtime/cppo/belt_Set.cppo.res b/runtime/cppo/belt_Set.res.cppo similarity index 100% rename from runtime/cppo/belt_Set.cppo.res rename to runtime/cppo/belt_Set.res.cppo diff --git a/runtime/cppo/belt_Set.cppo.resi b/runtime/cppo/belt_Set.resi.cppo similarity index 100% rename from runtime/cppo/belt_Set.cppo.resi rename to runtime/cppo/belt_Set.resi.cppo diff --git a/runtime/cppo/hashmap.cppo.res b/runtime/cppo/hashmap.res.cppo similarity index 100% rename from runtime/cppo/hashmap.cppo.res rename to runtime/cppo/hashmap.res.cppo diff --git a/runtime/cppo/hashmap.cppo.resi b/runtime/cppo/hashmap.resi.cppo similarity index 100% rename from runtime/cppo/hashmap.cppo.resi rename to runtime/cppo/hashmap.resi.cppo diff --git a/runtime/cppo/hashset.cppo.res b/runtime/cppo/hashset.res.cppo similarity index 100% rename from runtime/cppo/hashset.cppo.res rename to runtime/cppo/hashset.res.cppo diff --git a/runtime/cppo/hashset.cppo.resi b/runtime/cppo/hashset.resi.cppo similarity index 100% rename from runtime/cppo/hashset.cppo.resi rename to runtime/cppo/hashset.resi.cppo diff --git a/runtime/cppo/internal_map.cppo.res b/runtime/cppo/internal_map.res.cppo similarity index 100% rename from runtime/cppo/internal_map.cppo.res rename to runtime/cppo/internal_map.res.cppo diff --git a/runtime/cppo/internal_set.cppo.res b/runtime/cppo/internal_set.res.cppo similarity index 100% rename from runtime/cppo/internal_set.cppo.res rename to runtime/cppo/internal_set.res.cppo diff --git a/runtime/cppo/map.cppo.res b/runtime/cppo/map.res.cppo similarity index 100% rename from runtime/cppo/map.cppo.res rename to runtime/cppo/map.res.cppo diff --git a/runtime/cppo/map.cppo.resi b/runtime/cppo/map.resi.cppo similarity index 100% rename from runtime/cppo/map.cppo.resi rename to runtime/cppo/map.resi.cppo diff --git a/runtime/cppo/mapm.cppo.res b/runtime/cppo/mapm.res.cppo similarity index 100% rename from runtime/cppo/mapm.cppo.res rename to runtime/cppo/mapm.res.cppo diff --git a/runtime/cppo/mapm.cppo.resi b/runtime/cppo/mapm.resi.cppo similarity index 100% rename from runtime/cppo/mapm.cppo.resi rename to runtime/cppo/mapm.resi.cppo diff --git a/runtime/cppo/setm.cppo.res b/runtime/cppo/setm.res.cppo similarity index 100% rename from runtime/cppo/setm.cppo.res rename to runtime/cppo/setm.res.cppo diff --git a/runtime/cppo/setm.cppo.resi b/runtime/cppo/setm.resi.cppo similarity index 100% rename from runtime/cppo/setm.cppo.resi rename to runtime/cppo/setm.resi.cppo diff --git a/runtime/cppo/sort.cppo.res b/runtime/cppo/sort.res.cppo similarity index 100% rename from runtime/cppo/sort.cppo.res rename to runtime/cppo/sort.res.cppo diff --git a/runtime/cppo/sort.cppo.resi b/runtime/cppo/sort.resi.cppo similarity index 100% rename from runtime/cppo/sort.cppo.resi rename to runtime/cppo/sort.resi.cppo diff --git a/scripts/cppo.js b/scripts/cppo.js index 3600890f9d..2394e01538 100644 --- a/scripts/cppo.js +++ b/scripts/cppo.js @@ -3,38 +3,38 @@ const { execFileSync } = require("child_process"); [ - ["belt_HashSetString.res", "hashset.cppo.res", "TYPE_STRING"], - ["belt_HashSetString.resi", "hashset.cppo.resi", "TYPE_STRING"], - ["belt_HashSetInt.res", "hashset.cppo.res", "TYPE_INT"], - ["belt_HashSetInt.resi", "hashset.cppo.resi", "TYPE_INT"], - ["belt_HashMapString.res", "hashmap.cppo.res", "TYPE_STRING"], - ["belt_HashMapString.resi", "hashmap.cppo.resi", "TYPE_STRING"], - ["belt_HashMapInt.res", "hashmap.cppo.res", "TYPE_INT"], - ["belt_HashMapInt.resi", "hashmap.cppo.resi", "TYPE_INT"], - ["belt_MapString.res", "map.cppo.res", "TYPE_STRING"], - ["belt_MapString.resi", "map.cppo.resi", "TYPE_STRING"], - ["belt_MapInt.res", "map.cppo.res", "TYPE_INT"], - ["belt_MapInt.resi", "map.cppo.resi", "TYPE_INT"], - ["belt_SetString.res", "belt_Set.cppo.res", "TYPE_STRING"], - ["belt_SetString.resi", "belt_Set.cppo.resi", "TYPE_STRING"], - ["belt_SetInt.res", "belt_Set.cppo.res", "TYPE_INT"], - ["belt_SetInt.resi", "belt_Set.cppo.resi", "TYPE_INT"], - ["belt_MutableMapString.res", "mapm.cppo.res", "TYPE_STRING"], - ["belt_MutableMapString.resi", "mapm.cppo.resi", "TYPE_STRING"], - ["belt_MutableMapInt.res", "mapm.cppo.res", "TYPE_INT"], - ["belt_MutableMapInt.resi", "mapm.cppo.resi", "TYPE_INT"], - ["belt_MutableSetString.res", "setm.cppo.res", "TYPE_STRING"], - ["belt_MutableSetString.resi", "setm.cppo.resi", "TYPE_STRING"], - ["belt_MutableSetInt.res", "setm.cppo.res", "TYPE_INT"], - ["belt_MutableSetInt.resi", "setm.cppo.resi", "TYPE_INT"], - ["belt_SortArrayString.res", "sort.cppo.res", "TYPE_STRING"], - ["belt_SortArrayString.resi", "sort.cppo.resi", "TYPE_STRING"], - ["belt_SortArrayInt.res", "sort.cppo.res", "TYPE_INT"], - ["belt_SortArrayInt.resi", "sort.cppo.resi", "TYPE_INT"], - ["belt_internalMapString.res", "internal_map.cppo.res", "TYPE_STRING"], - ["belt_internalMapInt.res", "internal_map.cppo.res", "TYPE_INT"], - ["belt_internalSetString.res", "internal_set.cppo.res", "TYPE_STRING"], - ["belt_internalSetInt.res", "internal_set.cppo.res", "TYPE_INT"], + ["belt_HashSetString.res", "hashset.res.cppo", "TYPE_STRING"], + ["belt_HashSetString.resi", "hashset.resi.cppo", "TYPE_STRING"], + ["belt_HashSetInt.res", "hashset.res.cppo", "TYPE_INT"], + ["belt_HashSetInt.resi", "hashset.resi.cppo", "TYPE_INT"], + ["belt_HashMapString.res", "hashmap.res.cppo", "TYPE_STRING"], + ["belt_HashMapString.resi", "hashmap.resi.cppo", "TYPE_STRING"], + ["belt_HashMapInt.res", "hashmap.res.cppo", "TYPE_INT"], + ["belt_HashMapInt.resi", "hashmap.resi.cppo", "TYPE_INT"], + ["belt_MapString.res", "map.res.cppo", "TYPE_STRING"], + ["belt_MapString.resi", "map.resi.cppo", "TYPE_STRING"], + ["belt_MapInt.res", "map.res.cppo", "TYPE_INT"], + ["belt_MapInt.resi", "map.resi.cppo", "TYPE_INT"], + ["belt_SetString.res", "belt_Set.res.cppo", "TYPE_STRING"], + ["belt_SetString.resi", "belt_Set.resi.cppo", "TYPE_STRING"], + ["belt_SetInt.res", "belt_Set.res.cppo", "TYPE_INT"], + ["belt_SetInt.resi", "belt_Set.resi.cppo", "TYPE_INT"], + ["belt_MutableMapString.res", "mapm.res.cppo", "TYPE_STRING"], + ["belt_MutableMapString.resi", "mapm.resi.cppo", "TYPE_STRING"], + ["belt_MutableMapInt.res", "mapm.res.cppo", "TYPE_INT"], + ["belt_MutableMapInt.resi", "mapm.resi.cppo", "TYPE_INT"], + ["belt_MutableSetString.res", "setm.res.cppo", "TYPE_STRING"], + ["belt_MutableSetString.resi", "setm.resi.cppo", "TYPE_STRING"], + ["belt_MutableSetInt.res", "setm.res.cppo", "TYPE_INT"], + ["belt_MutableSetInt.resi", "setm.resi.cppo", "TYPE_INT"], + ["belt_SortArrayString.res", "sort.res.cppo", "TYPE_STRING"], + ["belt_SortArrayString.resi", "sort.resi.cppo", "TYPE_STRING"], + ["belt_SortArrayInt.res", "sort.res.cppo", "TYPE_INT"], + ["belt_SortArrayInt.resi", "sort.resi.cppo", "TYPE_INT"], + ["belt_internalMapString.res", "internal_map.res.cppo", "TYPE_STRING"], + ["belt_internalMapInt.res", "internal_map.res.cppo", "TYPE_INT"], + ["belt_internalSetString.res", "internal_set.res.cppo", "TYPE_STRING"], + ["belt_internalSetInt.res", "internal_set.res.cppo", "TYPE_INT"], ].forEach(([output, input, type]) => { execFileSync( "cppo", diff --git a/scripts/format.sh b/scripts/format.sh index ee6635327e..2c1aa744fa 100755 --- a/scripts/format.sh +++ b/scripts/format.sh @@ -3,4 +3,6 @@ shopt -s extglob dune build @fmt --auto-promote -./rescript format jscomp/@(others|runtime|test)/*.@(res|resi) + +files=$(find runtime tests/tests -type f \( -name "*.res" -o -name "*.resi" \)) +./rescript format $files diff --git a/scripts/format_check.sh b/scripts/format_check.sh index 3c58d6f6d3..cd82ed6f5a 100755 --- a/scripts/format_check.sh +++ b/scripts/format_check.sh @@ -17,7 +17,8 @@ case "$(uname -s)" in fi echo "Checking ReScript code formatting..." - if ./rescript format -check jscomp/@(others|runtime|test)/*.@(res|resi); then + files=$(find runtime tests/tests -type f \( -name "*.res" -o -name "*.resi" \)) + if ./rescript format -check $files; then printf "${successGreen}✅ ReScript code formatting ok.${reset}\n" else printf "${warningYellow}⚠️ ReScript code formatting issues found.${reset}\n" diff --git a/scripts/ciTest.js b/scripts/test.js similarity index 79% rename from scripts/ciTest.js rename to scripts/test.js index aa20b6f566..cf5f03f9b8 100644 --- a/scripts/ciTest.js +++ b/scripts/test.js @@ -2,10 +2,11 @@ const cp = require("child_process"); const path = require("path"); const fs = require("fs"); +var { rescript_exe } = require("#cli/bin_path"); const duneBinDir = require("./dune").duneBinDir; -const { exec } = require("../jscomp/build_tests/utils.js"); +const { exec } = require("../tests/build_tests/utils.js"); let ounitTest = false; let mochaTest = false; @@ -60,16 +61,26 @@ async function runTests() { }); } - // running generated js tests + if (mochaTest || nodeTest) { + cp.execSync(rescript_exe, { + cwd: path.join(__dirname, "..", "tests/tests"), + stdio: [0, 1, 2], + }); + cp.execSync(rescript_exe, { + cwd: path.join(__dirname, "..", "tests/tests_esmodule"), + stdio: [0, 1, 2], + }); + } + if (mochaTest) { - cp.execSync(`npx mocha -t 10000 jscomp/test/**/*_test.js`, { + cp.execSync(`npx mocha -t 10000 tests/tests/**/*_test.js`, { cwd: path.join(__dirname, ".."), stdio: [0, 1, 2], }); } if (nodeTest) { - cp.execSync(`node --test jscomp/test/*_ntest.js`, { + cp.execSync(`node --test tests/tests/**/*_ntest.js`, { cwd: path.join(__dirname, ".."), stdio: [0, 1, 2], }); @@ -77,7 +88,7 @@ async function runTests() { if (bsbTest) { console.log("Doing build_tests"); - const buildTestDir = path.join(__dirname, "..", "jscomp", "build_tests"); + const buildTestDir = path.join(__dirname, "..", "tests", "build_tests"); const files = fs.readdirSync(buildTestDir); let hasError = false; diff --git a/scripts/test.sh b/scripts/test.sh deleted file mode 100755 index c5fcb07422..0000000000 --- a/scripts/test.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -set -e -node ./node_modules/mocha/bin/mocha './jscomp/test/**/*_test.js' -R list "$@" diff --git a/scripts/tmp.js b/scripts/tmp.js index cfe6c54fd4..e8c58a38fb 100644 --- a/scripts/tmp.js +++ b/scripts/tmp.js @@ -82,7 +82,7 @@ var polyCode = n => { }; var run = () => { fs.writeFileSync( - path.join(__dirname, "..", "jscomp", "test", "big_enum.ml"), + path.join(__dirname, "..", "tests", "tests", "big_enum.ml"), code(300), "utf8", ); @@ -90,7 +90,7 @@ var run = () => { var runPol = () => { fs.writeFileSync( - path.join(__dirname, "..", "jscomp", "test", "big_polyvar_test.ml"), + path.join(__dirname, "..", "tests", "tests", "big_polyvar_test.ml"), polyCode(300), ); }; diff --git a/tests/.gitignore b/tests/.gitignore new file mode 100644 index 0000000000..c3af857904 --- /dev/null +++ b/tests/.gitignore @@ -0,0 +1 @@ +lib/ diff --git a/jscomp/build_tests/build_warn_as_error/input.js b/tests/build_tests/build_warn_as_error/input.js similarity index 100% rename from jscomp/build_tests/build_warn_as_error/input.js rename to tests/build_tests/build_warn_as_error/input.js diff --git a/jscomp/build_tests/build_warn_as_error/rescript.json b/tests/build_tests/build_warn_as_error/rescript.json similarity index 100% rename from jscomp/build_tests/build_warn_as_error/rescript.json rename to tests/build_tests/build_warn_as_error/rescript.json diff --git a/jscomp/build_tests/build_warn_as_error/src/Demo.res b/tests/build_tests/build_warn_as_error/src/Demo.res similarity index 100% rename from jscomp/build_tests/build_warn_as_error/src/Demo.res rename to tests/build_tests/build_warn_as_error/src/Demo.res diff --git a/jscomp/build_tests/case/input.js b/tests/build_tests/case/input.js similarity index 100% rename from jscomp/build_tests/case/input.js rename to tests/build_tests/case/input.js diff --git a/jscomp/build_tests/case/rescript.json b/tests/build_tests/case/rescript.json similarity index 100% rename from jscomp/build_tests/case/rescript.json rename to tests/build_tests/case/rescript.json diff --git a/jscomp/build_tests/case/src/Demo.resi b/tests/build_tests/case/src/Demo.resi similarity index 100% rename from jscomp/build_tests/case/src/Demo.resi rename to tests/build_tests/case/src/Demo.resi diff --git a/jscomp/build_tests/case/src/demo.res b/tests/build_tests/case/src/demo.res similarity index 100% rename from jscomp/build_tests/case/src/demo.res rename to tests/build_tests/case/src/demo.res diff --git a/jscomp/build_tests/case2/input.js b/tests/build_tests/case2/input.js similarity index 100% rename from jscomp/build_tests/case2/input.js rename to tests/build_tests/case2/input.js diff --git a/jscomp/build_tests/case2/rescript.json b/tests/build_tests/case2/rescript.json similarity index 100% rename from jscomp/build_tests/case2/rescript.json rename to tests/build_tests/case2/rescript.json diff --git a/jscomp/build_tests/case2/src/X.res b/tests/build_tests/case2/src/X.res similarity index 100% rename from jscomp/build_tests/case2/src/X.res rename to tests/build_tests/case2/src/X.res diff --git a/jscomp/build_tests/case2/src/x.resi b/tests/build_tests/case2/src/x.resi similarity index 100% rename from jscomp/build_tests/case2/src/x.resi rename to tests/build_tests/case2/src/x.resi diff --git a/jscomp/build_tests/case3/input.js b/tests/build_tests/case3/input.js similarity index 100% rename from jscomp/build_tests/case3/input.js rename to tests/build_tests/case3/input.js diff --git a/jscomp/build_tests/case3/rescript.json b/tests/build_tests/case3/rescript.json similarity index 100% rename from jscomp/build_tests/case3/rescript.json rename to tests/build_tests/case3/rescript.json diff --git a/jscomp/build_tests/case3/src/B01.bs.js b/tests/build_tests/case3/src/B01.bs.js similarity index 100% rename from jscomp/build_tests/case3/src/B01.bs.js rename to tests/build_tests/case3/src/B01.bs.js diff --git a/jscomp/build_tests/case3/src/B01.res b/tests/build_tests/case3/src/B01.res similarity index 100% rename from jscomp/build_tests/case3/src/B01.res rename to tests/build_tests/case3/src/B01.res diff --git a/jscomp/build_tests/case3/src/B01.resi b/tests/build_tests/case3/src/B01.resi similarity index 100% rename from jscomp/build_tests/case3/src/B01.resi rename to tests/build_tests/case3/src/B01.resi diff --git a/jscomp/build_tests/case3/src/B02.bs.js b/tests/build_tests/case3/src/B02.bs.js similarity index 100% rename from jscomp/build_tests/case3/src/B02.bs.js rename to tests/build_tests/case3/src/B02.bs.js diff --git a/jscomp/build_tests/case3/src/B02.res b/tests/build_tests/case3/src/B02.res similarity index 100% rename from jscomp/build_tests/case3/src/B02.res rename to tests/build_tests/case3/src/B02.res diff --git a/jscomp/build_tests/case3/src/B03.bs.js b/tests/build_tests/case3/src/B03.bs.js similarity index 100% rename from jscomp/build_tests/case3/src/B03.bs.js rename to tests/build_tests/case3/src/B03.bs.js diff --git a/jscomp/build_tests/case3/src/B03.res b/tests/build_tests/case3/src/B03.res similarity index 100% rename from jscomp/build_tests/case3/src/B03.res rename to tests/build_tests/case3/src/B03.res diff --git a/jscomp/build_tests/case3/src/B04.bs.js b/tests/build_tests/case3/src/B04.bs.js similarity index 100% rename from jscomp/build_tests/case3/src/B04.bs.js rename to tests/build_tests/case3/src/B04.bs.js diff --git a/jscomp/build_tests/case3/src/B04.res b/tests/build_tests/case3/src/B04.res similarity index 100% rename from jscomp/build_tests/case3/src/B04.res rename to tests/build_tests/case3/src/B04.res diff --git a/jscomp/build_tests/case3/src/B04.resi b/tests/build_tests/case3/src/B04.resi similarity index 100% rename from jscomp/build_tests/case3/src/B04.resi rename to tests/build_tests/case3/src/B04.resi diff --git a/jscomp/build_tests/case3/src/B05.bs.js b/tests/build_tests/case3/src/B05.bs.js similarity index 100% rename from jscomp/build_tests/case3/src/B05.bs.js rename to tests/build_tests/case3/src/B05.bs.js diff --git a/jscomp/build_tests/case3/src/B05.res b/tests/build_tests/case3/src/B05.res similarity index 100% rename from jscomp/build_tests/case3/src/B05.res rename to tests/build_tests/case3/src/B05.res diff --git a/jscomp/build_tests/case3/src/B05.resi b/tests/build_tests/case3/src/B05.resi similarity index 100% rename from jscomp/build_tests/case3/src/B05.resi rename to tests/build_tests/case3/src/B05.resi diff --git a/jscomp/build_tests/case3/src/a01.bs.js b/tests/build_tests/case3/src/a01.bs.js similarity index 100% rename from jscomp/build_tests/case3/src/a01.bs.js rename to tests/build_tests/case3/src/a01.bs.js diff --git a/jscomp/build_tests/case3/src/a01.res b/tests/build_tests/case3/src/a01.res similarity index 100% rename from jscomp/build_tests/case3/src/a01.res rename to tests/build_tests/case3/src/a01.res diff --git a/jscomp/build_tests/case3/src/a01.resi b/tests/build_tests/case3/src/a01.resi similarity index 100% rename from jscomp/build_tests/case3/src/a01.resi rename to tests/build_tests/case3/src/a01.resi diff --git a/jscomp/build_tests/case3/src/a02.bs.js b/tests/build_tests/case3/src/a02.bs.js similarity index 100% rename from jscomp/build_tests/case3/src/a02.bs.js rename to tests/build_tests/case3/src/a02.bs.js diff --git a/jscomp/build_tests/case3/src/a02.res b/tests/build_tests/case3/src/a02.res similarity index 100% rename from jscomp/build_tests/case3/src/a02.res rename to tests/build_tests/case3/src/a02.res diff --git a/jscomp/build_tests/case3/src/a03.bs.js b/tests/build_tests/case3/src/a03.bs.js similarity index 100% rename from jscomp/build_tests/case3/src/a03.bs.js rename to tests/build_tests/case3/src/a03.bs.js diff --git a/jscomp/build_tests/case3/src/a03.res b/tests/build_tests/case3/src/a03.res similarity index 100% rename from jscomp/build_tests/case3/src/a03.res rename to tests/build_tests/case3/src/a03.res diff --git a/jscomp/build_tests/case3/src/a04.bs.js b/tests/build_tests/case3/src/a04.bs.js similarity index 100% rename from jscomp/build_tests/case3/src/a04.bs.js rename to tests/build_tests/case3/src/a04.bs.js diff --git a/jscomp/build_tests/case3/src/a04.res b/tests/build_tests/case3/src/a04.res similarity index 100% rename from jscomp/build_tests/case3/src/a04.res rename to tests/build_tests/case3/src/a04.res diff --git a/jscomp/build_tests/case3/src/a04.resi b/tests/build_tests/case3/src/a04.resi similarity index 100% rename from jscomp/build_tests/case3/src/a04.resi rename to tests/build_tests/case3/src/a04.resi diff --git a/jscomp/build_tests/case3/src/a05.bs.js b/tests/build_tests/case3/src/a05.bs.js similarity index 100% rename from jscomp/build_tests/case3/src/a05.bs.js rename to tests/build_tests/case3/src/a05.bs.js diff --git a/jscomp/build_tests/case3/src/a05.res b/tests/build_tests/case3/src/a05.res similarity index 100% rename from jscomp/build_tests/case3/src/a05.res rename to tests/build_tests/case3/src/a05.res diff --git a/jscomp/build_tests/case3/src/a05.resi b/tests/build_tests/case3/src/a05.resi similarity index 100% rename from jscomp/build_tests/case3/src/a05.resi rename to tests/build_tests/case3/src/a05.resi diff --git a/jscomp/build_tests/case3/src/hello.bs.js b/tests/build_tests/case3/src/hello.bs.js similarity index 100% rename from jscomp/build_tests/case3/src/hello.bs.js rename to tests/build_tests/case3/src/hello.bs.js diff --git a/jscomp/build_tests/case3/src/hello.res b/tests/build_tests/case3/src/hello.res similarity index 100% rename from jscomp/build_tests/case3/src/hello.res rename to tests/build_tests/case3/src/hello.res diff --git a/jscomp/build_tests/cli_compile_status/input.js b/tests/build_tests/cli_compile_status/input.js similarity index 100% rename from jscomp/build_tests/cli_compile_status/input.js rename to tests/build_tests/cli_compile_status/input.js diff --git a/jscomp/build_tests/cli_compile_status/rescript.json b/tests/build_tests/cli_compile_status/rescript.json similarity index 100% rename from jscomp/build_tests/cli_compile_status/rescript.json rename to tests/build_tests/cli_compile_status/rescript.json diff --git a/jscomp/build_tests/cli_help/input.js b/tests/build_tests/cli_help/input.js similarity index 100% rename from jscomp/build_tests/cli_help/input.js rename to tests/build_tests/cli_help/input.js diff --git a/jscomp/build_tests/custom_namespace/input.js b/tests/build_tests/custom_namespace/input.js similarity index 100% rename from jscomp/build_tests/custom_namespace/input.js rename to tests/build_tests/custom_namespace/input.js diff --git a/jscomp/build_tests/custom_namespace/rescript.json b/tests/build_tests/custom_namespace/rescript.json similarity index 100% rename from jscomp/build_tests/custom_namespace/rescript.json rename to tests/build_tests/custom_namespace/rescript.json diff --git a/jscomp/build_tests/custom_namespace/src/demo.bs.js b/tests/build_tests/custom_namespace/src/demo.bs.js similarity index 100% rename from jscomp/build_tests/custom_namespace/src/demo.bs.js rename to tests/build_tests/custom_namespace/src/demo.bs.js diff --git a/jscomp/build_tests/custom_namespace/src/demo.res b/tests/build_tests/custom_namespace/src/demo.res similarity index 100% rename from jscomp/build_tests/custom_namespace/src/demo.res rename to tests/build_tests/custom_namespace/src/demo.res diff --git a/jscomp/build_tests/cycle/input.js b/tests/build_tests/cycle/input.js similarity index 100% rename from jscomp/build_tests/cycle/input.js rename to tests/build_tests/cycle/input.js diff --git a/jscomp/build_tests/cycle/rescript.json b/tests/build_tests/cycle/rescript.json similarity index 100% rename from jscomp/build_tests/cycle/rescript.json rename to tests/build_tests/cycle/rescript.json diff --git a/jscomp/build_tests/cycle/src/a.res b/tests/build_tests/cycle/src/a.res similarity index 100% rename from jscomp/build_tests/cycle/src/a.res rename to tests/build_tests/cycle/src/a.res diff --git a/jscomp/build_tests/cycle/src/b.res b/tests/build_tests/cycle/src/b.res similarity index 100% rename from jscomp/build_tests/cycle/src/b.res rename to tests/build_tests/cycle/src/b.res diff --git a/jscomp/build_tests/cycle1/input.js b/tests/build_tests/cycle1/input.js similarity index 100% rename from jscomp/build_tests/cycle1/input.js rename to tests/build_tests/cycle1/input.js diff --git a/jscomp/build_tests/cycle1/rescript.json b/tests/build_tests/cycle1/rescript.json similarity index 100% rename from jscomp/build_tests/cycle1/rescript.json rename to tests/build_tests/cycle1/rescript.json diff --git a/jscomp/build_tests/cycle1/src/A.res b/tests/build_tests/cycle1/src/A.res similarity index 100% rename from jscomp/build_tests/cycle1/src/A.res rename to tests/build_tests/cycle1/src/A.res diff --git a/jscomp/build_tests/cycle1/src/A.resi b/tests/build_tests/cycle1/src/A.resi similarity index 100% rename from jscomp/build_tests/cycle1/src/A.resi rename to tests/build_tests/cycle1/src/A.resi diff --git a/jscomp/build_tests/deprecated-package-specs/input.js b/tests/build_tests/deprecated-package-specs/input.js similarity index 100% rename from jscomp/build_tests/deprecated-package-specs/input.js rename to tests/build_tests/deprecated-package-specs/input.js diff --git a/jscomp/build_tests/deprecated-package-specs/rescript.json b/tests/build_tests/deprecated-package-specs/rescript.json similarity index 100% rename from jscomp/build_tests/deprecated-package-specs/rescript.json rename to tests/build_tests/deprecated-package-specs/rescript.json diff --git a/jscomp/build_tests/deprecated-package-specs/src/Index.res b/tests/build_tests/deprecated-package-specs/src/Index.res similarity index 100% rename from jscomp/build_tests/deprecated-package-specs/src/Index.res rename to tests/build_tests/deprecated-package-specs/src/Index.res diff --git a/jscomp/build_tests/devonly/input.js b/tests/build_tests/devonly/input.js similarity index 100% rename from jscomp/build_tests/devonly/input.js rename to tests/build_tests/devonly/input.js diff --git a/jscomp/build_tests/devonly/rescript.json b/tests/build_tests/devonly/rescript.json similarity index 100% rename from jscomp/build_tests/devonly/rescript.json rename to tests/build_tests/devonly/rescript.json diff --git a/jscomp/build_tests/devonly/src/demo.bs.js b/tests/build_tests/devonly/src/demo.bs.js similarity index 100% rename from jscomp/build_tests/devonly/src/demo.bs.js rename to tests/build_tests/devonly/src/demo.bs.js diff --git a/jscomp/build_tests/devonly/src/demo.res b/tests/build_tests/devonly/src/demo.res similarity index 100% rename from jscomp/build_tests/devonly/src/demo.res rename to tests/build_tests/devonly/src/demo.res diff --git a/jscomp/build_tests/devonly/src/depdemo.bs.js b/tests/build_tests/devonly/src/depdemo.bs.js similarity index 100% rename from jscomp/build_tests/devonly/src/depdemo.bs.js rename to tests/build_tests/devonly/src/depdemo.bs.js diff --git a/jscomp/build_tests/devonly/src/depdemo.res b/tests/build_tests/devonly/src/depdemo.res similarity index 100% rename from jscomp/build_tests/devonly/src/depdemo.res rename to tests/build_tests/devonly/src/depdemo.res diff --git a/jscomp/build_tests/devonly/src2/hello.bs.js b/tests/build_tests/devonly/src2/hello.bs.js similarity index 100% rename from jscomp/build_tests/devonly/src2/hello.bs.js rename to tests/build_tests/devonly/src2/hello.bs.js diff --git a/jscomp/build_tests/devonly/src2/hello.res b/tests/build_tests/devonly/src2/hello.res similarity index 100% rename from jscomp/build_tests/devonly/src2/hello.res rename to tests/build_tests/devonly/src2/hello.res diff --git a/jscomp/build_tests/devonly/src2/hellodep.bs.js b/tests/build_tests/devonly/src2/hellodep.bs.js similarity index 100% rename from jscomp/build_tests/devonly/src2/hellodep.bs.js rename to tests/build_tests/devonly/src2/hellodep.bs.js diff --git a/jscomp/build_tests/devonly/src2/hellodep.res b/tests/build_tests/devonly/src2/hellodep.res similarity index 100% rename from jscomp/build_tests/devonly/src2/hellodep.res rename to tests/build_tests/devonly/src2/hellodep.res diff --git a/jscomp/build_tests/duplicated_symlinked_packages/.gitignore b/tests/build_tests/duplicated_symlinked_packages/.gitignore similarity index 53% rename from jscomp/build_tests/duplicated_symlinked_packages/.gitignore rename to tests/build_tests/duplicated_symlinked_packages/.gitignore index 5abc616503..1b32625537 100644 --- a/jscomp/build_tests/duplicated_symlinked_packages/.gitignore +++ b/tests/build_tests/duplicated_symlinked_packages/.gitignore @@ -1,2 +1,3 @@ .merlin **/lib +!node_modules \ No newline at end of file diff --git a/jscomp/build_tests/duplicated_symlinked_packages/README.md b/tests/build_tests/duplicated_symlinked_packages/README.md similarity index 74% rename from jscomp/build_tests/duplicated_symlinked_packages/README.md rename to tests/build_tests/duplicated_symlinked_packages/README.md index 100d897ea0..cd843335a6 100644 --- a/jscomp/build_tests/duplicated_symlinked_packages/README.md +++ b/tests/build_tests/duplicated_symlinked_packages/README.md @@ -32,5 +32,5 @@ Special tests for duplicated symlink warnings `out.expected` has exactly 1 warning for `z` conflict -Run `node ./jscomp/build_tests/duplicated_symlinked_packages/input.js` to check the tests against previous snapshots. -Run `node ./jscomp/build_tests/duplicated_symlinked_packages/input.js update` to update the snapshots (assuming you've made some changes to duplicated) +Run `node ./tests/build_tests/duplicated_symlinked_packages/input.js` to check the tests against previous snapshots. +Run `node ./tests/build_tests/duplicated_symlinked_packages/input.js update` to update the snapshots (assuming you've made some changes to duplicated) diff --git a/jscomp/build_tests/duplicated_symlinked_packages/a/bsconfig.json b/tests/build_tests/duplicated_symlinked_packages/a/bsconfig.json similarity index 100% rename from jscomp/build_tests/duplicated_symlinked_packages/a/bsconfig.json rename to tests/build_tests/duplicated_symlinked_packages/a/bsconfig.json diff --git a/jscomp/build_tests/duplicated_symlinked_packages/a/node_modules/c b/tests/build_tests/duplicated_symlinked_packages/a/node_modules/c similarity index 100% rename from jscomp/build_tests/duplicated_symlinked_packages/a/node_modules/c rename to tests/build_tests/duplicated_symlinked_packages/a/node_modules/c diff --git a/jscomp/build_tests/duplicated_symlinked_packages/a/node_modules/z/bsconfig.json b/tests/build_tests/duplicated_symlinked_packages/a/node_modules/z/bsconfig.json similarity index 100% rename from jscomp/build_tests/duplicated_symlinked_packages/a/node_modules/z/bsconfig.json rename to tests/build_tests/duplicated_symlinked_packages/a/node_modules/z/bsconfig.json diff --git a/jscomp/build_tests/duplicated_symlinked_packages/a/node_modules/z/package.json b/tests/build_tests/duplicated_symlinked_packages/a/node_modules/z/package.json similarity index 100% rename from jscomp/build_tests/duplicated_symlinked_packages/a/node_modules/z/package.json rename to tests/build_tests/duplicated_symlinked_packages/a/node_modules/z/package.json diff --git a/jscomp/build_tests/duplicated_symlinked_packages/a/node_modules/z/src/.git_keep b/tests/build_tests/duplicated_symlinked_packages/a/node_modules/z/src/.git_keep similarity index 100% rename from jscomp/build_tests/duplicated_symlinked_packages/a/node_modules/z/src/.git_keep rename to tests/build_tests/duplicated_symlinked_packages/a/node_modules/z/src/.git_keep diff --git a/jscomp/build_tests/duplicated_symlinked_packages/a/package.json b/tests/build_tests/duplicated_symlinked_packages/a/package.json similarity index 100% rename from jscomp/build_tests/duplicated_symlinked_packages/a/package.json rename to tests/build_tests/duplicated_symlinked_packages/a/package.json diff --git a/jscomp/build_tests/duplicated_symlinked_packages/a/src/.git_keep b/tests/build_tests/duplicated_symlinked_packages/a/src/.git_keep similarity index 100% rename from jscomp/build_tests/duplicated_symlinked_packages/a/src/.git_keep rename to tests/build_tests/duplicated_symlinked_packages/a/src/.git_keep diff --git a/jscomp/build_tests/duplicated_symlinked_packages/b/bsconfig.json b/tests/build_tests/duplicated_symlinked_packages/b/bsconfig.json similarity index 100% rename from jscomp/build_tests/duplicated_symlinked_packages/b/bsconfig.json rename to tests/build_tests/duplicated_symlinked_packages/b/bsconfig.json diff --git a/jscomp/build_tests/duplicated_symlinked_packages/b/node_modules/c b/tests/build_tests/duplicated_symlinked_packages/b/node_modules/c similarity index 100% rename from jscomp/build_tests/duplicated_symlinked_packages/b/node_modules/c rename to tests/build_tests/duplicated_symlinked_packages/b/node_modules/c diff --git a/jscomp/build_tests/duplicated_symlinked_packages/b/package.json b/tests/build_tests/duplicated_symlinked_packages/b/package.json similarity index 100% rename from jscomp/build_tests/duplicated_symlinked_packages/b/package.json rename to tests/build_tests/duplicated_symlinked_packages/b/package.json diff --git a/jscomp/build_tests/duplicated_symlinked_packages/b/src/.git_keep b/tests/build_tests/duplicated_symlinked_packages/b/src/.git_keep similarity index 100% rename from jscomp/build_tests/duplicated_symlinked_packages/b/src/.git_keep rename to tests/build_tests/duplicated_symlinked_packages/b/src/.git_keep diff --git a/jscomp/build_tests/duplicated_symlinked_packages/c/bsconfig.json b/tests/build_tests/duplicated_symlinked_packages/c/bsconfig.json similarity index 100% rename from jscomp/build_tests/duplicated_symlinked_packages/c/bsconfig.json rename to tests/build_tests/duplicated_symlinked_packages/c/bsconfig.json diff --git a/jscomp/build_tests/duplicated_symlinked_packages/c/package.json b/tests/build_tests/duplicated_symlinked_packages/c/package.json similarity index 100% rename from jscomp/build_tests/duplicated_symlinked_packages/c/package.json rename to tests/build_tests/duplicated_symlinked_packages/c/package.json diff --git a/jscomp/build_tests/duplicated_symlinked_packages/c/src/.git_keep b/tests/build_tests/duplicated_symlinked_packages/c/src/.git_keep similarity index 100% rename from jscomp/build_tests/duplicated_symlinked_packages/c/src/.git_keep rename to tests/build_tests/duplicated_symlinked_packages/c/src/.git_keep diff --git a/jscomp/build_tests/duplicated_symlinked_packages/input.js b/tests/build_tests/duplicated_symlinked_packages/input.js similarity index 100% rename from jscomp/build_tests/duplicated_symlinked_packages/input.js rename to tests/build_tests/duplicated_symlinked_packages/input.js diff --git a/jscomp/build_tests/duplicated_symlinked_packages/node_modules/a b/tests/build_tests/duplicated_symlinked_packages/node_modules/a similarity index 100% rename from jscomp/build_tests/duplicated_symlinked_packages/node_modules/a rename to tests/build_tests/duplicated_symlinked_packages/node_modules/a diff --git a/jscomp/build_tests/duplicated_symlinked_packages/node_modules/b b/tests/build_tests/duplicated_symlinked_packages/node_modules/b similarity index 100% rename from jscomp/build_tests/duplicated_symlinked_packages/node_modules/b rename to tests/build_tests/duplicated_symlinked_packages/node_modules/b diff --git a/jscomp/build_tests/duplicated_symlinked_packages/node_modules/z/bsconfig.json b/tests/build_tests/duplicated_symlinked_packages/node_modules/z/bsconfig.json similarity index 100% rename from jscomp/build_tests/duplicated_symlinked_packages/node_modules/z/bsconfig.json rename to tests/build_tests/duplicated_symlinked_packages/node_modules/z/bsconfig.json diff --git a/jscomp/build_tests/duplicated_symlinked_packages/node_modules/z/package.json b/tests/build_tests/duplicated_symlinked_packages/node_modules/z/package.json similarity index 100% rename from jscomp/build_tests/duplicated_symlinked_packages/node_modules/z/package.json rename to tests/build_tests/duplicated_symlinked_packages/node_modules/z/package.json diff --git a/jscomp/build_tests/duplicated_symlinked_packages/node_modules/z/src/.git_keep b/tests/build_tests/duplicated_symlinked_packages/node_modules/z/src/.git_keep similarity index 100% rename from jscomp/build_tests/duplicated_symlinked_packages/node_modules/z/src/.git_keep rename to tests/build_tests/duplicated_symlinked_packages/node_modules/z/src/.git_keep diff --git a/jscomp/build_tests/duplicated_symlinked_packages/out.expected b/tests/build_tests/duplicated_symlinked_packages/out.expected similarity index 100% rename from jscomp/build_tests/duplicated_symlinked_packages/out.expected rename to tests/build_tests/duplicated_symlinked_packages/out.expected diff --git a/jscomp/build_tests/duplicated_symlinked_packages/rescript.json b/tests/build_tests/duplicated_symlinked_packages/rescript.json similarity index 100% rename from jscomp/build_tests/duplicated_symlinked_packages/rescript.json rename to tests/build_tests/duplicated_symlinked_packages/rescript.json diff --git a/jscomp/build_tests/duplicated_symlinked_packages/src/.git_keep b/tests/build_tests/duplicated_symlinked_packages/src/.git_keep similarity index 100% rename from jscomp/build_tests/duplicated_symlinked_packages/src/.git_keep rename to tests/build_tests/duplicated_symlinked_packages/src/.git_keep diff --git a/jscomp/build_tests/exports/input.js b/tests/build_tests/exports/input.js similarity index 100% rename from jscomp/build_tests/exports/input.js rename to tests/build_tests/exports/input.js diff --git a/jscomp/build_tests/exports/rescript.json b/tests/build_tests/exports/rescript.json similarity index 100% rename from jscomp/build_tests/exports/rescript.json rename to tests/build_tests/exports/rescript.json diff --git a/jscomp/build_tests/exports/src/demo.res b/tests/build_tests/exports/src/demo.res similarity index 100% rename from jscomp/build_tests/exports/src/demo.res rename to tests/build_tests/exports/src/demo.res diff --git a/tests/build_tests/gpr_978/input.js b/tests/build_tests/gpr_978/input.js new file mode 100644 index 0000000000..70c0949700 --- /dev/null +++ b/tests/build_tests/gpr_978/input.js @@ -0,0 +1,13 @@ +//@ts-check +const cp = require("child_process"); +const assert = require("assert"); +const fs = require("fs"); +const path = require("path"); +const { rescript_exe } = require("#cli/bin_path"); + +const output = cp.spawnSync(rescript_exe, { encoding: "utf8", shell: true }); +assert(/M is exported twice/.test(output.stdout)); + +const compilerLogFile = path.join(__dirname, "lib", "bs", ".compiler.log"); +const compilerLog = fs.readFileSync(compilerLogFile, "utf8"); +assert(/M is exported twice/.test(compilerLog)); diff --git a/tests/build_tests/gpr_978/rescript.json b/tests/build_tests/gpr_978/rescript.json new file mode 100644 index 0000000000..406397e559 --- /dev/null +++ b/tests/build_tests/gpr_978/rescript.json @@ -0,0 +1,8 @@ +{ + "name": "gpr_978", + "version": "0.0.0", + "sources": [ + "src" + ], + "bs-dependencies": [] +} \ No newline at end of file diff --git a/jscomp/test/fail/gpr_978_module.res b/tests/build_tests/gpr_978/src/gpr_978_module.res similarity index 100% rename from jscomp/test/fail/gpr_978_module.res rename to tests/build_tests/gpr_978/src/gpr_978_module.res diff --git a/jscomp/build_tests/hyphen2/input.js b/tests/build_tests/hyphen2/input.js similarity index 100% rename from jscomp/build_tests/hyphen2/input.js rename to tests/build_tests/hyphen2/input.js diff --git a/jscomp/build_tests/hyphen2/rescript.json b/tests/build_tests/hyphen2/rescript.json similarity index 100% rename from jscomp/build_tests/hyphen2/rescript.json rename to tests/build_tests/hyphen2/rescript.json diff --git a/jscomp/build_tests/hyphen2/y-src/demo.res b/tests/build_tests/hyphen2/y-src/demo.res similarity index 100% rename from jscomp/build_tests/hyphen2/y-src/demo.res rename to tests/build_tests/hyphen2/y-src/demo.res diff --git a/jscomp/build_tests/in_source/input.js b/tests/build_tests/in_source/input.js similarity index 100% rename from jscomp/build_tests/in_source/input.js rename to tests/build_tests/in_source/input.js diff --git a/jscomp/build_tests/in_source/input.sh b/tests/build_tests/in_source/input.sh similarity index 100% rename from jscomp/build_tests/in_source/input.sh rename to tests/build_tests/in_source/input.sh diff --git a/jscomp/build_tests/in_source/rescript.json b/tests/build_tests/in_source/rescript.json similarity index 100% rename from jscomp/build_tests/in_source/rescript.json rename to tests/build_tests/in_source/rescript.json diff --git a/jscomp/build_tests/install/input.js b/tests/build_tests/install/input.js similarity index 100% rename from jscomp/build_tests/install/input.js rename to tests/build_tests/install/input.js diff --git a/jscomp/build_tests/install/rescript.json b/tests/build_tests/install/rescript.json similarity index 100% rename from jscomp/build_tests/install/rescript.json rename to tests/build_tests/install/rescript.json diff --git a/jscomp/build_tests/install/src/Foo.bs.js b/tests/build_tests/install/src/Foo.bs.js similarity index 100% rename from jscomp/build_tests/install/src/Foo.bs.js rename to tests/build_tests/install/src/Foo.bs.js diff --git a/jscomp/build_tests/install/src/Foo.res b/tests/build_tests/install/src/Foo.res similarity index 100% rename from jscomp/build_tests/install/src/Foo.res rename to tests/build_tests/install/src/Foo.res diff --git a/jscomp/build_tests/nested/.gitignore b/tests/build_tests/nested/.gitignore similarity index 100% rename from jscomp/build_tests/nested/.gitignore rename to tests/build_tests/nested/.gitignore diff --git a/jscomp/build_tests/nested/input.js b/tests/build_tests/nested/input.js similarity index 100% rename from jscomp/build_tests/nested/input.js rename to tests/build_tests/nested/input.js diff --git a/jscomp/build_tests/nested/rescript.json b/tests/build_tests/nested/rescript.json similarity index 100% rename from jscomp/build_tests/nested/rescript.json rename to tests/build_tests/nested/rescript.json diff --git a/jscomp/build_tests/nested/src/a0/a0_main.res b/tests/build_tests/nested/src/a0/a0_main.res similarity index 100% rename from jscomp/build_tests/nested/src/a0/a0_main.res rename to tests/build_tests/nested/src/a0/a0_main.res diff --git a/jscomp/build_tests/nested/src/a0/a1/A00_a1_main.res b/tests/build_tests/nested/src/a0/a1/A00_a1_main.res similarity index 100% rename from jscomp/build_tests/nested/src/a0/a1/A00_a1_main.res rename to tests/build_tests/nested/src/a0/a1/A00_a1_main.res diff --git a/jscomp/build_tests/nested/src/b0/b0_main.res b/tests/build_tests/nested/src/b0/b0_main.res similarity index 100% rename from jscomp/build_tests/nested/src/b0/b0_main.res rename to tests/build_tests/nested/src/b0/b0_main.res diff --git a/jscomp/build_tests/nested/src/b0/b1/B00_b1_main.res b/tests/build_tests/nested/src/b0/b1/B00_b1_main.res similarity index 100% rename from jscomp/build_tests/nested/src/b0/b1/B00_b1_main.res rename to tests/build_tests/nested/src/b0/b1/B00_b1_main.res diff --git a/jscomp/build_tests/nested/src/demo.res b/tests/build_tests/nested/src/demo.res similarity index 100% rename from jscomp/build_tests/nested/src/demo.res rename to tests/build_tests/nested/src/demo.res diff --git a/jscomp/build_tests/nested/src/demo.resi b/tests/build_tests/nested/src/demo.resi similarity index 100% rename from jscomp/build_tests/nested/src/demo.resi rename to tests/build_tests/nested/src/demo.resi diff --git a/jscomp/build_tests/nnest/.gitignore b/tests/build_tests/nnest/.gitignore similarity index 100% rename from jscomp/build_tests/nnest/.gitignore rename to tests/build_tests/nnest/.gitignore diff --git a/jscomp/build_tests/nnest/input.js b/tests/build_tests/nnest/input.js similarity index 100% rename from jscomp/build_tests/nnest/input.js rename to tests/build_tests/nnest/input.js diff --git a/jscomp/build_tests/nnest/rescript.json b/tests/build_tests/nnest/rescript.json similarity index 100% rename from jscomp/build_tests/nnest/rescript.json rename to tests/build_tests/nnest/rescript.json diff --git a/jscomp/build_tests/nnest/src/a0/a0_main.res b/tests/build_tests/nnest/src/a0/a0_main.res similarity index 100% rename from jscomp/build_tests/nnest/src/a0/a0_main.res rename to tests/build_tests/nnest/src/a0/a0_main.res diff --git a/jscomp/build_tests/nnest/src/a0/a1/A0_a1_main.res b/tests/build_tests/nnest/src/a0/a1/A0_a1_main.res similarity index 100% rename from jscomp/build_tests/nnest/src/a0/a1/A0_a1_main.res rename to tests/build_tests/nnest/src/a0/a1/A0_a1_main.res diff --git a/jscomp/build_tests/nnest/src/b0/b0_main.res b/tests/build_tests/nnest/src/b0/b0_main.res similarity index 100% rename from jscomp/build_tests/nnest/src/b0/b0_main.res rename to tests/build_tests/nnest/src/b0/b0_main.res diff --git a/jscomp/build_tests/nnest/src/b0/b1/B0_b1_main.res b/tests/build_tests/nnest/src/b0/b1/B0_b1_main.res similarity index 100% rename from jscomp/build_tests/nnest/src/b0/b1/B0_b1_main.res rename to tests/build_tests/nnest/src/b0/b1/B0_b1_main.res diff --git a/jscomp/build_tests/nnest/src/demo.res b/tests/build_tests/nnest/src/demo.res similarity index 100% rename from jscomp/build_tests/nnest/src/demo.res rename to tests/build_tests/nnest/src/demo.res diff --git a/jscomp/build_tests/ns/input.js b/tests/build_tests/ns/input.js similarity index 100% rename from jscomp/build_tests/ns/input.js rename to tests/build_tests/ns/input.js diff --git a/jscomp/build_tests/ns/rescript.json b/tests/build_tests/ns/rescript.json similarity index 100% rename from jscomp/build_tests/ns/rescript.json rename to tests/build_tests/ns/rescript.json diff --git a/jscomp/build_tests/ns/src/demo.js b/tests/build_tests/ns/src/demo.js similarity index 100% rename from jscomp/build_tests/ns/src/demo.js rename to tests/build_tests/ns/src/demo.js diff --git a/jscomp/build_tests/ns/src/demo.res b/tests/build_tests/ns/src/demo.res similarity index 100% rename from jscomp/build_tests/ns/src/demo.res rename to tests/build_tests/ns/src/demo.res diff --git a/jscomp/build_tests/ns/src/hello.js b/tests/build_tests/ns/src/hello.js similarity index 100% rename from jscomp/build_tests/ns/src/hello.js rename to tests/build_tests/ns/src/hello.js diff --git a/jscomp/build_tests/ns/src/hello.res b/tests/build_tests/ns/src/hello.res similarity index 100% rename from jscomp/build_tests/ns/src/hello.res rename to tests/build_tests/ns/src/hello.res diff --git a/jscomp/build_tests/post-build/input.js b/tests/build_tests/post-build/input.js similarity index 100% rename from jscomp/build_tests/post-build/input.js rename to tests/build_tests/post-build/input.js diff --git a/jscomp/build_tests/post-build/rescript.json b/tests/build_tests/post-build/rescript.json similarity index 100% rename from jscomp/build_tests/post-build/rescript.json rename to tests/build_tests/post-build/rescript.json diff --git a/jscomp/build_tests/post-build/src/demo.res b/tests/build_tests/post-build/src/demo.res similarity index 100% rename from jscomp/build_tests/post-build/src/demo.res rename to tests/build_tests/post-build/src/demo.res diff --git a/jscomp/build_tests/post-build/src/hello.res b/tests/build_tests/post-build/src/hello.res similarity index 100% rename from jscomp/build_tests/post-build/src/hello.res rename to tests/build_tests/post-build/src/hello.res diff --git a/jscomp/build_tests/react_ppx/input.js b/tests/build_tests/react_ppx/input.js similarity index 100% rename from jscomp/build_tests/react_ppx/input.js rename to tests/build_tests/react_ppx/input.js diff --git a/jscomp/build_tests/react_ppx/rescript.json b/tests/build_tests/react_ppx/rescript.json similarity index 100% rename from jscomp/build_tests/react_ppx/rescript.json rename to tests/build_tests/react_ppx/rescript.json diff --git a/jscomp/build_tests/react_ppx/src/React.bs.js b/tests/build_tests/react_ppx/src/React.bs.js similarity index 100% rename from jscomp/build_tests/react_ppx/src/React.bs.js rename to tests/build_tests/react_ppx/src/React.bs.js diff --git a/jscomp/build_tests/react_ppx/src/React.res b/tests/build_tests/react_ppx/src/React.res similarity index 100% rename from jscomp/build_tests/react_ppx/src/React.res rename to tests/build_tests/react_ppx/src/React.res diff --git a/jscomp/build_tests/react_ppx/src/gpr_3695_test.bs.js b/tests/build_tests/react_ppx/src/gpr_3695_test.bs.js similarity index 100% rename from jscomp/build_tests/react_ppx/src/gpr_3695_test.bs.js rename to tests/build_tests/react_ppx/src/gpr_3695_test.bs.js diff --git a/jscomp/build_tests/react_ppx/src/gpr_3695_test.res b/tests/build_tests/react_ppx/src/gpr_3695_test.res similarity index 100% rename from jscomp/build_tests/react_ppx/src/gpr_3695_test.res rename to tests/build_tests/react_ppx/src/gpr_3695_test.res diff --git a/jscomp/build_tests/react_ppx/src/gpr_3987_test.bs.js b/tests/build_tests/react_ppx/src/gpr_3987_test.bs.js similarity index 100% rename from jscomp/build_tests/react_ppx/src/gpr_3987_test.bs.js rename to tests/build_tests/react_ppx/src/gpr_3987_test.bs.js diff --git a/jscomp/build_tests/react_ppx/src/gpr_3987_test.res b/tests/build_tests/react_ppx/src/gpr_3987_test.res similarity index 100% rename from jscomp/build_tests/react_ppx/src/gpr_3987_test.res rename to tests/build_tests/react_ppx/src/gpr_3987_test.res diff --git a/jscomp/build_tests/react_ppx/src/recursive_component_test.bs.js b/tests/build_tests/react_ppx/src/recursive_component_test.bs.js similarity index 100% rename from jscomp/build_tests/react_ppx/src/recursive_component_test.bs.js rename to tests/build_tests/react_ppx/src/recursive_component_test.bs.js diff --git a/jscomp/build_tests/react_ppx/src/recursive_component_test.res b/tests/build_tests/react_ppx/src/recursive_component_test.res similarity index 100% rename from jscomp/build_tests/react_ppx/src/recursive_component_test.res rename to tests/build_tests/react_ppx/src/recursive_component_test.res diff --git a/jscomp/build_tests/rerror/input.js b/tests/build_tests/rerror/input.js similarity index 100% rename from jscomp/build_tests/rerror/input.js rename to tests/build_tests/rerror/input.js diff --git a/jscomp/build_tests/rerror/rescript.json b/tests/build_tests/rerror/rescript.json similarity index 100% rename from jscomp/build_tests/rerror/rescript.json rename to tests/build_tests/rerror/rescript.json diff --git a/jscomp/build_tests/rerror/src/demo.res b/tests/build_tests/rerror/src/demo.res similarity index 100% rename from jscomp/build_tests/rerror/src/demo.res rename to tests/build_tests/rerror/src/demo.res diff --git a/jscomp/build_tests/rerror/tasks.json b/tests/build_tests/rerror/tasks.json similarity index 100% rename from jscomp/build_tests/rerror/tasks.json rename to tests/build_tests/rerror/tasks.json diff --git a/tests/build_tests/scoped_ppx/.gitignore b/tests/build_tests/scoped_ppx/.gitignore new file mode 100644 index 0000000000..1e5a96ef36 --- /dev/null +++ b/tests/build_tests/scoped_ppx/.gitignore @@ -0,0 +1,2 @@ +.merlin +!node_modules \ No newline at end of file diff --git a/jscomp/build_tests/scoped_ppx/input.js b/tests/build_tests/scoped_ppx/input.js similarity index 100% rename from jscomp/build_tests/scoped_ppx/input.js rename to tests/build_tests/scoped_ppx/input.js diff --git a/jscomp/build_tests/scoped_ppx/node_modules/@hongbo/ppx1/test.js b/tests/build_tests/scoped_ppx/node_modules/@hongbo/ppx1/test.js similarity index 100% rename from jscomp/build_tests/scoped_ppx/node_modules/@hongbo/ppx1/test.js rename to tests/build_tests/scoped_ppx/node_modules/@hongbo/ppx1/test.js diff --git a/jscomp/build_tests/scoped_ppx/rescript.json b/tests/build_tests/scoped_ppx/rescript.json similarity index 100% rename from jscomp/build_tests/scoped_ppx/rescript.json rename to tests/build_tests/scoped_ppx/rescript.json diff --git a/jscomp/build_tests/scoped_ppx/src/hello.res b/tests/build_tests/scoped_ppx/src/hello.res similarity index 100% rename from jscomp/build_tests/scoped_ppx/src/hello.res rename to tests/build_tests/scoped_ppx/src/hello.res diff --git a/jscomp/build_tests/super_errors/.gitignore b/tests/build_tests/super_errors/.gitignore similarity index 100% rename from jscomp/build_tests/super_errors/.gitignore rename to tests/build_tests/super_errors/.gitignore diff --git a/tests/build_tests/super_errors/README.md b/tests/build_tests/super_errors/README.md new file mode 100644 index 0000000000..cee84d057d --- /dev/null +++ b/tests/build_tests/super_errors/README.md @@ -0,0 +1,5 @@ +Special tests for super errors (the pretty error display). + +Follow CONTRIBUTING.md and build the project, then run `node ./tests/build_tests/super_errors/input.js` at the root of the project to check the tests against previous snapshots. + +Run `node ./tests/build_tests/super_errors/input.js update` to update the snapshots (assuming you've made some changes to super errors' display and/or messages). diff --git a/jscomp/build_tests/super_errors/expected/DerivingAccessorsRecordParam.res.expected b/tests/build_tests/super_errors/expected/DerivingAccessorsRecordParam.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/DerivingAccessorsRecordParam.res.expected rename to tests/build_tests/super_errors/expected/DerivingAccessorsRecordParam.res.expected diff --git a/jscomp/build_tests/super_errors/expected/RecordInclusion.res.expected b/tests/build_tests/super_errors/expected/RecordInclusion.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/RecordInclusion.res.expected rename to tests/build_tests/super_errors/expected/RecordInclusion.res.expected diff --git a/jscomp/build_tests/super_errors/expected/UncurriedArgsNotApplied.res.expected b/tests/build_tests/super_errors/expected/UncurriedArgsNotApplied.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/UncurriedArgsNotApplied.res.expected rename to tests/build_tests/super_errors/expected/UncurriedArgsNotApplied.res.expected diff --git a/jscomp/build_tests/super_errors/expected/UntaggedImplIntf.res.expected b/tests/build_tests/super_errors/expected/UntaggedImplIntf.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/UntaggedImplIntf.res.expected rename to tests/build_tests/super_errors/expected/UntaggedImplIntf.res.expected diff --git a/jscomp/build_tests/super_errors/expected/UntaggedNonUnary1.res.expected b/tests/build_tests/super_errors/expected/UntaggedNonUnary1.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/UntaggedNonUnary1.res.expected rename to tests/build_tests/super_errors/expected/UntaggedNonUnary1.res.expected diff --git a/jscomp/build_tests/super_errors/expected/UntaggedNonUnary2.res.expected b/tests/build_tests/super_errors/expected/UntaggedNonUnary2.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/UntaggedNonUnary2.res.expected rename to tests/build_tests/super_errors/expected/UntaggedNonUnary2.res.expected diff --git a/jscomp/build_tests/super_errors/expected/UntaggedTupleAndArray.res.expected b/tests/build_tests/super_errors/expected/UntaggedTupleAndArray.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/UntaggedTupleAndArray.res.expected rename to tests/build_tests/super_errors/expected/UntaggedTupleAndArray.res.expected diff --git a/jscomp/build_tests/super_errors/expected/UntaggedUnknown.res.expected b/tests/build_tests/super_errors/expected/UntaggedUnknown.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/UntaggedUnknown.res.expected rename to tests/build_tests/super_errors/expected/UntaggedUnknown.res.expected diff --git a/jscomp/build_tests/super_errors/expected/arity_mismatch.res.expected b/tests/build_tests/super_errors/expected/arity_mismatch.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/arity_mismatch.res.expected rename to tests/build_tests/super_errors/expected/arity_mismatch.res.expected diff --git a/jscomp/build_tests/super_errors/expected/arity_mismatch2.res.expected b/tests/build_tests/super_errors/expected/arity_mismatch2.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/arity_mismatch2.res.expected rename to tests/build_tests/super_errors/expected/arity_mismatch2.res.expected diff --git a/jscomp/build_tests/super_errors/expected/arity_mismatch3.res.expected b/tests/build_tests/super_errors/expected/arity_mismatch3.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/arity_mismatch3.res.expected rename to tests/build_tests/super_errors/expected/arity_mismatch3.res.expected diff --git a/jscomp/build_tests/super_errors/expected/array_item_type_mismatch.res.expected b/tests/build_tests/super_errors/expected/array_item_type_mismatch.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/array_item_type_mismatch.res.expected rename to tests/build_tests/super_errors/expected/array_item_type_mismatch.res.expected diff --git a/jscomp/build_tests/super_errors/expected/await.res.expected b/tests/build_tests/super_errors/expected/await.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/await.res.expected rename to tests/build_tests/super_errors/expected/await.res.expected diff --git a/jscomp/build_tests/super_errors/expected/bigint_match_literal.res.expected b/tests/build_tests/super_errors/expected/bigint_match_literal.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/bigint_match_literal.res.expected rename to tests/build_tests/super_errors/expected/bigint_match_literal.res.expected diff --git a/jscomp/build_tests/super_errors/expected/c_for_u_in_c_mode.res.expected b/tests/build_tests/super_errors/expected/c_for_u_in_c_mode.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/c_for_u_in_c_mode.res.expected rename to tests/build_tests/super_errors/expected/c_for_u_in_c_mode.res.expected diff --git a/jscomp/build_tests/super_errors/expected/c_for_u_in_u_mode.res.expected b/tests/build_tests/super_errors/expected/c_for_u_in_u_mode.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/c_for_u_in_u_mode.res.expected rename to tests/build_tests/super_errors/expected/c_for_u_in_u_mode.res.expected diff --git a/jscomp/build_tests/super_errors/expected/collections.res.expected b/tests/build_tests/super_errors/expected/collections.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/collections.res.expected rename to tests/build_tests/super_errors/expected/collections.res.expected diff --git a/jscomp/build_tests/super_errors/expected/comparison_operator.res.expected b/tests/build_tests/super_errors/expected/comparison_operator.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/comparison_operator.res.expected rename to tests/build_tests/super_errors/expected/comparison_operator.res.expected diff --git a/jscomp/build_tests/super_errors/expected/component_invalid_prop.res.expected b/tests/build_tests/super_errors/expected/component_invalid_prop.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/component_invalid_prop.res.expected rename to tests/build_tests/super_errors/expected/component_invalid_prop.res.expected diff --git a/jscomp/build_tests/super_errors/expected/component_missing_prop.res.expected b/tests/build_tests/super_errors/expected/component_missing_prop.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/component_missing_prop.res.expected rename to tests/build_tests/super_errors/expected/component_missing_prop.res.expected diff --git a/jscomp/build_tests/super_errors/expected/component_missing_prop_children.res.expected b/tests/build_tests/super_errors/expected/component_missing_prop_children.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/component_missing_prop_children.res.expected rename to tests/build_tests/super_errors/expected/component_missing_prop_children.res.expected diff --git a/jscomp/build_tests/super_errors/expected/component_missing_prop_test.res.expected b/tests/build_tests/super_errors/expected/component_missing_prop_test.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/component_missing_prop_test.res.expected rename to tests/build_tests/super_errors/expected/component_missing_prop_test.res.expected diff --git a/jscomp/build_tests/super_errors/expected/component_prop_passed_multiple_times.res.expected b/tests/build_tests/super_errors/expected/component_prop_passed_multiple_times.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/component_prop_passed_multiple_times.res.expected rename to tests/build_tests/super_errors/expected/component_prop_passed_multiple_times.res.expected diff --git a/jscomp/build_tests/super_errors/expected/curried_expected.res.expected b/tests/build_tests/super_errors/expected/curried_expected.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/curried_expected.res.expected rename to tests/build_tests/super_errors/expected/curried_expected.res.expected diff --git a/jscomp/build_tests/super_errors/expected/curry_in_uncurry.res.expected b/tests/build_tests/super_errors/expected/curry_in_uncurry.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/curry_in_uncurry.res.expected rename to tests/build_tests/super_errors/expected/curry_in_uncurry.res.expected diff --git a/jscomp/build_tests/super_errors/expected/dict_coercion.res.expected b/tests/build_tests/super_errors/expected/dict_coercion.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/dict_coercion.res.expected rename to tests/build_tests/super_errors/expected/dict_coercion.res.expected diff --git a/jscomp/build_tests/super_errors/expected/dict_inference.res.expected b/tests/build_tests/super_errors/expected/dict_inference.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/dict_inference.res.expected rename to tests/build_tests/super_errors/expected/dict_inference.res.expected diff --git a/jscomp/build_tests/super_errors/expected/dict_magic_field_on_non_dict.res.expected b/tests/build_tests/super_errors/expected/dict_magic_field_on_non_dict.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/dict_magic_field_on_non_dict.res.expected rename to tests/build_tests/super_errors/expected/dict_magic_field_on_non_dict.res.expected diff --git a/jscomp/build_tests/super_errors/expected/dict_pattern_inference.res.expected b/tests/build_tests/super_errors/expected/dict_pattern_inference.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/dict_pattern_inference.res.expected rename to tests/build_tests/super_errors/expected/dict_pattern_inference.res.expected diff --git a/jscomp/build_tests/super_errors/expected/dict_pattern_inference_constrained.res.expected b/tests/build_tests/super_errors/expected/dict_pattern_inference_constrained.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/dict_pattern_inference_constrained.res.expected rename to tests/build_tests/super_errors/expected/dict_pattern_inference_constrained.res.expected diff --git a/jscomp/build_tests/super_errors/expected/dict_pattern_regular_record.res.expected b/tests/build_tests/super_errors/expected/dict_pattern_regular_record.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/dict_pattern_regular_record.res.expected rename to tests/build_tests/super_errors/expected/dict_pattern_regular_record.res.expected diff --git a/jscomp/build_tests/super_errors/expected/dict_record_style_field_access.res.expected b/tests/build_tests/super_errors/expected/dict_record_style_field_access.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/dict_record_style_field_access.res.expected rename to tests/build_tests/super_errors/expected/dict_record_style_field_access.res.expected diff --git a/jscomp/build_tests/super_errors/expected/directive_attr.res.expected b/tests/build_tests/super_errors/expected/directive_attr.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/directive_attr.res.expected rename to tests/build_tests/super_errors/expected/directive_attr.res.expected diff --git a/jscomp/build_tests/super_errors/expected/duplicate_labels_error.res.expected b/tests/build_tests/super_errors/expected/duplicate_labels_error.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/duplicate_labels_error.res.expected rename to tests/build_tests/super_errors/expected/duplicate_labels_error.res.expected diff --git a/jscomp/build_tests/super_errors/expected/fieldNotOptional.res.expected b/tests/build_tests/super_errors/expected/fieldNotOptional.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/fieldNotOptional.res.expected rename to tests/build_tests/super_errors/expected/fieldNotOptional.res.expected diff --git a/jscomp/build_tests/super_errors/expected/function_argument_mismatch.res.expected b/tests/build_tests/super_errors/expected/function_argument_mismatch.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/function_argument_mismatch.res.expected rename to tests/build_tests/super_errors/expected/function_argument_mismatch.res.expected diff --git a/jscomp/build_tests/super_errors/expected/function_call_mismatch.res.expected b/tests/build_tests/super_errors/expected/function_call_mismatch.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/function_call_mismatch.res.expected rename to tests/build_tests/super_errors/expected/function_call_mismatch.res.expected diff --git a/jscomp/build_tests/super_errors/expected/function_return_mismatch.res.expected b/tests/build_tests/super_errors/expected/function_return_mismatch.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/function_return_mismatch.res.expected rename to tests/build_tests/super_errors/expected/function_return_mismatch.res.expected diff --git a/jscomp/build_tests/super_errors/expected/highlighting1.res.expected b/tests/build_tests/super_errors/expected/highlighting1.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/highlighting1.res.expected rename to tests/build_tests/super_errors/expected/highlighting1.res.expected diff --git a/jscomp/build_tests/super_errors/expected/highlighting2.res.expected b/tests/build_tests/super_errors/expected/highlighting2.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/highlighting2.res.expected rename to tests/build_tests/super_errors/expected/highlighting2.res.expected diff --git a/jscomp/build_tests/super_errors/expected/highlighting3.res.expected b/tests/build_tests/super_errors/expected/highlighting3.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/highlighting3.res.expected rename to tests/build_tests/super_errors/expected/highlighting3.res.expected diff --git a/jscomp/build_tests/super_errors/expected/highlighting4.res.expected b/tests/build_tests/super_errors/expected/highlighting4.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/highlighting4.res.expected rename to tests/build_tests/super_errors/expected/highlighting4.res.expected diff --git a/jscomp/build_tests/super_errors/expected/highlighting5.res.expected b/tests/build_tests/super_errors/expected/highlighting5.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/highlighting5.res.expected rename to tests/build_tests/super_errors/expected/highlighting5.res.expected diff --git a/jscomp/build_tests/super_errors/expected/highlighting6.res.expected b/tests/build_tests/super_errors/expected/highlighting6.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/highlighting6.res.expected rename to tests/build_tests/super_errors/expected/highlighting6.res.expected diff --git a/jscomp/build_tests/super_errors/expected/if_branch_mismatch.res.expected b/tests/build_tests/super_errors/expected/if_branch_mismatch.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/if_branch_mismatch.res.expected rename to tests/build_tests/super_errors/expected/if_branch_mismatch.res.expected diff --git a/jscomp/build_tests/super_errors/expected/if_condition_mismatch.res.expected b/tests/build_tests/super_errors/expected/if_condition_mismatch.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/if_condition_mismatch.res.expected rename to tests/build_tests/super_errors/expected/if_condition_mismatch.res.expected diff --git a/jscomp/build_tests/super_errors/expected/intoverflow.res.expected b/tests/build_tests/super_errors/expected/intoverflow.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/intoverflow.res.expected rename to tests/build_tests/super_errors/expected/intoverflow.res.expected diff --git a/jscomp/build_tests/super_errors/expected/jinterp.res.expected b/tests/build_tests/super_errors/expected/jinterp.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/jinterp.res.expected rename to tests/build_tests/super_errors/expected/jinterp.res.expected diff --git a/jscomp/build_tests/super_errors/expected/math_operator_constant.res.expected b/tests/build_tests/super_errors/expected/math_operator_constant.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/math_operator_constant.res.expected rename to tests/build_tests/super_errors/expected/math_operator_constant.res.expected diff --git a/jscomp/build_tests/super_errors/expected/math_operator_float.res.expected b/tests/build_tests/super_errors/expected/math_operator_float.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/math_operator_float.res.expected rename to tests/build_tests/super_errors/expected/math_operator_float.res.expected diff --git a/jscomp/build_tests/super_errors/expected/math_operator_int.res.expected b/tests/build_tests/super_errors/expected/math_operator_int.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/math_operator_int.res.expected rename to tests/build_tests/super_errors/expected/math_operator_int.res.expected diff --git a/jscomp/build_tests/super_errors/expected/math_operator_string.res.expected b/tests/build_tests/super_errors/expected/math_operator_string.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/math_operator_string.res.expected rename to tests/build_tests/super_errors/expected/math_operator_string.res.expected diff --git a/jscomp/build_tests/super_errors/expected/method_arity_mismatch.res.expected b/tests/build_tests/super_errors/expected/method_arity_mismatch.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/method_arity_mismatch.res.expected rename to tests/build_tests/super_errors/expected/method_arity_mismatch.res.expected diff --git a/jscomp/build_tests/super_errors/expected/missing_label.res.expected b/tests/build_tests/super_errors/expected/missing_label.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/missing_label.res.expected rename to tests/build_tests/super_errors/expected/missing_label.res.expected diff --git a/jscomp/build_tests/super_errors/expected/missing_labels.res.expected b/tests/build_tests/super_errors/expected/missing_labels.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/missing_labels.res.expected rename to tests/build_tests/super_errors/expected/missing_labels.res.expected diff --git a/jscomp/build_tests/super_errors/expected/modules1.res.expected b/tests/build_tests/super_errors/expected/modules1.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/modules1.res.expected rename to tests/build_tests/super_errors/expected/modules1.res.expected diff --git a/jscomp/build_tests/super_errors/expected/modules2.res.expected b/tests/build_tests/super_errors/expected/modules2.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/modules2.res.expected rename to tests/build_tests/super_errors/expected/modules2.res.expected diff --git a/jscomp/build_tests/super_errors/expected/modules3.res.expected b/tests/build_tests/super_errors/expected/modules3.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/modules3.res.expected rename to tests/build_tests/super_errors/expected/modules3.res.expected diff --git a/jscomp/build_tests/super_errors/expected/moreArguments1.res.expected b/tests/build_tests/super_errors/expected/moreArguments1.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/moreArguments1.res.expected rename to tests/build_tests/super_errors/expected/moreArguments1.res.expected diff --git a/jscomp/build_tests/super_errors/expected/moreArguments2.res.expected b/tests/build_tests/super_errors/expected/moreArguments2.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/moreArguments2.res.expected rename to tests/build_tests/super_errors/expected/moreArguments2.res.expected diff --git a/jscomp/build_tests/super_errors/expected/moreArguments3.res.expected b/tests/build_tests/super_errors/expected/moreArguments3.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/moreArguments3.res.expected rename to tests/build_tests/super_errors/expected/moreArguments3.res.expected diff --git a/jscomp/build_tests/super_errors/expected/moreArguments4.res.expected b/tests/build_tests/super_errors/expected/moreArguments4.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/moreArguments4.res.expected rename to tests/build_tests/super_errors/expected/moreArguments4.res.expected diff --git a/jscomp/build_tests/super_errors/expected/moreArguments5.res.expected b/tests/build_tests/super_errors/expected/moreArguments5.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/moreArguments5.res.expected rename to tests/build_tests/super_errors/expected/moreArguments5.res.expected diff --git a/jscomp/build_tests/super_errors/expected/non_function_uncurried_apply.res.expected b/tests/build_tests/super_errors/expected/non_function_uncurried_apply.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/non_function_uncurried_apply.res.expected rename to tests/build_tests/super_errors/expected/non_function_uncurried_apply.res.expected diff --git a/jscomp/build_tests/super_errors/expected/partial_app.res.expected b/tests/build_tests/super_errors/expected/partial_app.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/partial_app.res.expected rename to tests/build_tests/super_errors/expected/partial_app.res.expected diff --git a/jscomp/build_tests/super_errors/expected/pattern_matching_on_option_but_value_not_option.res.expected b/tests/build_tests/super_errors/expected/pattern_matching_on_option_but_value_not_option.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/pattern_matching_on_option_but_value_not_option.res.expected rename to tests/build_tests/super_errors/expected/pattern_matching_on_option_but_value_not_option.res.expected diff --git a/jscomp/build_tests/super_errors/expected/pattern_matching_on_value_but_is_option.res.expected b/tests/build_tests/super_errors/expected/pattern_matching_on_value_but_is_option.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/pattern_matching_on_value_but_is_option.res.expected rename to tests/build_tests/super_errors/expected/pattern_matching_on_value_but_is_option.res.expected diff --git a/jscomp/build_tests/super_errors/expected/polyvariant_name_formatting.res.expected b/tests/build_tests/super_errors/expected/polyvariant_name_formatting.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/polyvariant_name_formatting.res.expected rename to tests/build_tests/super_errors/expected/polyvariant_name_formatting.res.expected diff --git a/jscomp/build_tests/super_errors/expected/primitives1.res.expected b/tests/build_tests/super_errors/expected/primitives1.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/primitives1.res.expected rename to tests/build_tests/super_errors/expected/primitives1.res.expected diff --git a/jscomp/build_tests/super_errors/expected/primitives10.res.expected b/tests/build_tests/super_errors/expected/primitives10.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/primitives10.res.expected rename to tests/build_tests/super_errors/expected/primitives10.res.expected diff --git a/jscomp/build_tests/super_errors/expected/primitives11.res.expected b/tests/build_tests/super_errors/expected/primitives11.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/primitives11.res.expected rename to tests/build_tests/super_errors/expected/primitives11.res.expected diff --git a/jscomp/build_tests/super_errors/expected/primitives2.res.expected b/tests/build_tests/super_errors/expected/primitives2.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/primitives2.res.expected rename to tests/build_tests/super_errors/expected/primitives2.res.expected diff --git a/jscomp/build_tests/super_errors/expected/primitives3.res.expected b/tests/build_tests/super_errors/expected/primitives3.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/primitives3.res.expected rename to tests/build_tests/super_errors/expected/primitives3.res.expected diff --git a/jscomp/build_tests/super_errors/expected/primitives4.res.expected b/tests/build_tests/super_errors/expected/primitives4.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/primitives4.res.expected rename to tests/build_tests/super_errors/expected/primitives4.res.expected diff --git a/jscomp/build_tests/super_errors/expected/primitives5.res.expected b/tests/build_tests/super_errors/expected/primitives5.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/primitives5.res.expected rename to tests/build_tests/super_errors/expected/primitives5.res.expected diff --git a/jscomp/build_tests/super_errors/expected/primitives6.res.expected b/tests/build_tests/super_errors/expected/primitives6.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/primitives6.res.expected rename to tests/build_tests/super_errors/expected/primitives6.res.expected diff --git a/jscomp/build_tests/super_errors/expected/primitives7.res.expected b/tests/build_tests/super_errors/expected/primitives7.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/primitives7.res.expected rename to tests/build_tests/super_errors/expected/primitives7.res.expected diff --git a/jscomp/build_tests/super_errors/expected/primitives8.res.expected b/tests/build_tests/super_errors/expected/primitives8.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/primitives8.res.expected rename to tests/build_tests/super_errors/expected/primitives8.res.expected diff --git a/jscomp/build_tests/super_errors/expected/primitives9.res.expected b/tests/build_tests/super_errors/expected/primitives9.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/primitives9.res.expected rename to tests/build_tests/super_errors/expected/primitives9.res.expected diff --git a/jscomp/build_tests/super_errors/expected/private_without_body.res.expected b/tests/build_tests/super_errors/expected/private_without_body.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/private_without_body.res.expected rename to tests/build_tests/super_errors/expected/private_without_body.res.expected diff --git a/jscomp/build_tests/super_errors/expected/record_type_spreads.res.expected b/tests/build_tests/super_errors/expected/record_type_spreads.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/record_type_spreads.res.expected rename to tests/build_tests/super_errors/expected/record_type_spreads.res.expected diff --git a/jscomp/build_tests/super_errors/expected/record_type_spreads_deep_sub.res.expected b/tests/build_tests/super_errors/expected/record_type_spreads_deep_sub.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/record_type_spreads_deep_sub.res.expected rename to tests/build_tests/super_errors/expected/record_type_spreads_deep_sub.res.expected diff --git a/jscomp/build_tests/super_errors/expected/recursive_type.res.expected b/tests/build_tests/super_errors/expected/recursive_type.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/recursive_type.res.expected rename to tests/build_tests/super_errors/expected/recursive_type.res.expected diff --git a/jscomp/build_tests/super_errors/expected/repeated_def_extension_constr.res.expected b/tests/build_tests/super_errors/expected/repeated_def_extension_constr.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/repeated_def_extension_constr.res.expected rename to tests/build_tests/super_errors/expected/repeated_def_extension_constr.res.expected diff --git a/jscomp/build_tests/super_errors/expected/repeated_def_module_types.res.expected b/tests/build_tests/super_errors/expected/repeated_def_module_types.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/repeated_def_module_types.res.expected rename to tests/build_tests/super_errors/expected/repeated_def_module_types.res.expected diff --git a/jscomp/build_tests/super_errors/expected/repeated_def_modules.res.expected b/tests/build_tests/super_errors/expected/repeated_def_modules.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/repeated_def_modules.res.expected rename to tests/build_tests/super_errors/expected/repeated_def_modules.res.expected diff --git a/jscomp/build_tests/super_errors/expected/repeated_def_types.res.expected b/tests/build_tests/super_errors/expected/repeated_def_types.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/repeated_def_types.res.expected rename to tests/build_tests/super_errors/expected/repeated_def_types.res.expected diff --git a/jscomp/build_tests/super_errors/expected/set_record_field_type_match.res.expected b/tests/build_tests/super_errors/expected/set_record_field_type_match.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/set_record_field_type_match.res.expected rename to tests/build_tests/super_errors/expected/set_record_field_type_match.res.expected diff --git a/jscomp/build_tests/super_errors/expected/switch_different_types.res.expected b/tests/build_tests/super_errors/expected/switch_different_types.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/switch_different_types.res.expected rename to tests/build_tests/super_errors/expected/switch_different_types.res.expected diff --git a/jscomp/build_tests/super_errors/expected/switch_guard.res.expected b/tests/build_tests/super_errors/expected/switch_guard.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/switch_guard.res.expected rename to tests/build_tests/super_errors/expected/switch_guard.res.expected diff --git a/jscomp/build_tests/super_errors/expected/syntaxErrors1.res.expected b/tests/build_tests/super_errors/expected/syntaxErrors1.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/syntaxErrors1.res.expected rename to tests/build_tests/super_errors/expected/syntaxErrors1.res.expected diff --git a/jscomp/build_tests/super_errors/expected/syntaxErrors2.res.expected b/tests/build_tests/super_errors/expected/syntaxErrors2.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/syntaxErrors2.res.expected rename to tests/build_tests/super_errors/expected/syntaxErrors2.res.expected diff --git a/jscomp/build_tests/super_errors/expected/syntaxErrors3.res.expected b/tests/build_tests/super_errors/expected/syntaxErrors3.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/syntaxErrors3.res.expected rename to tests/build_tests/super_errors/expected/syntaxErrors3.res.expected diff --git a/jscomp/build_tests/super_errors/expected/syntaxErrors4.res.expected b/tests/build_tests/super_errors/expected/syntaxErrors4.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/syntaxErrors4.res.expected rename to tests/build_tests/super_errors/expected/syntaxErrors4.res.expected diff --git a/jscomp/build_tests/super_errors/expected/syntaxErrors5.res.expected b/tests/build_tests/super_errors/expected/syntaxErrors5.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/syntaxErrors5.res.expected rename to tests/build_tests/super_errors/expected/syntaxErrors5.res.expected diff --git a/jscomp/build_tests/super_errors/expected/todo_with_no_payload.res.expected b/tests/build_tests/super_errors/expected/todo_with_no_payload.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/todo_with_no_payload.res.expected rename to tests/build_tests/super_errors/expected/todo_with_no_payload.res.expected diff --git a/jscomp/build_tests/super_errors/expected/todo_with_payload.res.expected b/tests/build_tests/super_errors/expected/todo_with_payload.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/todo_with_payload.res.expected rename to tests/build_tests/super_errors/expected/todo_with_payload.res.expected diff --git a/jscomp/build_tests/super_errors/expected/top_level_fn_call_not_unit.res.expected b/tests/build_tests/super_errors/expected/top_level_fn_call_not_unit.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/top_level_fn_call_not_unit.res.expected rename to tests/build_tests/super_errors/expected/top_level_fn_call_not_unit.res.expected diff --git a/jscomp/build_tests/super_errors/expected/top_level_value_not_unit.res.expected b/tests/build_tests/super_errors/expected/top_level_value_not_unit.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/top_level_value_not_unit.res.expected rename to tests/build_tests/super_errors/expected/top_level_value_not_unit.res.expected diff --git a/jscomp/build_tests/super_errors/expected/type1.res.expected b/tests/build_tests/super_errors/expected/type1.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/type1.res.expected rename to tests/build_tests/super_errors/expected/type1.res.expected diff --git a/jscomp/build_tests/super_errors/expected/type2.res.expected b/tests/build_tests/super_errors/expected/type2.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/type2.res.expected rename to tests/build_tests/super_errors/expected/type2.res.expected diff --git a/jscomp/build_tests/super_errors/expected/type3.res.expected b/tests/build_tests/super_errors/expected/type3.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/type3.res.expected rename to tests/build_tests/super_errors/expected/type3.res.expected diff --git a/jscomp/build_tests/super_errors/expected/u_for_c_in_c_mode.res.expected b/tests/build_tests/super_errors/expected/u_for_c_in_c_mode.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/u_for_c_in_c_mode.res.expected rename to tests/build_tests/super_errors/expected/u_for_c_in_c_mode.res.expected diff --git a/jscomp/build_tests/super_errors/expected/u_for_c_in_u_mode.res.expected b/tests/build_tests/super_errors/expected/u_for_c_in_u_mode.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/u_for_c_in_u_mode.res.expected rename to tests/build_tests/super_errors/expected/u_for_c_in_u_mode.res.expected diff --git a/jscomp/build_tests/super_errors/expected/unbound_record_field.res.expected b/tests/build_tests/super_errors/expected/unbound_record_field.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/unbound_record_field.res.expected rename to tests/build_tests/super_errors/expected/unbound_record_field.res.expected diff --git a/jscomp/build_tests/super_errors/expected/uncurried_expected.res.expected b/tests/build_tests/super_errors/expected/uncurried_expected.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/uncurried_expected.res.expected rename to tests/build_tests/super_errors/expected/uncurried_expected.res.expected diff --git a/jscomp/build_tests/super_errors/expected/uncurried_wrong_label.res.expected b/tests/build_tests/super_errors/expected/uncurried_wrong_label.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/uncurried_wrong_label.res.expected rename to tests/build_tests/super_errors/expected/uncurried_wrong_label.res.expected diff --git a/jscomp/build_tests/super_errors/expected/unicode_location.res.expected b/tests/build_tests/super_errors/expected/unicode_location.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/unicode_location.res.expected rename to tests/build_tests/super_errors/expected/unicode_location.res.expected diff --git a/jscomp/build_tests/super_errors/expected/unknown_tagged_template_function.res.expected b/tests/build_tests/super_errors/expected/unknown_tagged_template_function.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/unknown_tagged_template_function.res.expected rename to tests/build_tests/super_errors/expected/unknown_tagged_template_function.res.expected diff --git a/jscomp/build_tests/super_errors/expected/unused_variable.res.expected b/tests/build_tests/super_errors/expected/unused_variable.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/unused_variable.res.expected rename to tests/build_tests/super_errors/expected/unused_variable.res.expected diff --git a/jscomp/build_tests/super_errors/expected/unused_warnings.res.expected b/tests/build_tests/super_errors/expected/unused_warnings.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/unused_warnings.res.expected rename to tests/build_tests/super_errors/expected/unused_warnings.res.expected diff --git a/jscomp/build_tests/super_errors/expected/variant_coercion_bigint.res.expected b/tests/build_tests/super_errors/expected/variant_coercion_bigint.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/variant_coercion_bigint.res.expected rename to tests/build_tests/super_errors/expected/variant_coercion_bigint.res.expected diff --git a/jscomp/build_tests/super_errors/expected/variant_coercion_bigint_as.res.expected b/tests/build_tests/super_errors/expected/variant_coercion_bigint_as.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/variant_coercion_bigint_as.res.expected rename to tests/build_tests/super_errors/expected/variant_coercion_bigint_as.res.expected diff --git a/jscomp/build_tests/super_errors/expected/variant_coercion_float.res.expected b/tests/build_tests/super_errors/expected/variant_coercion_float.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/variant_coercion_float.res.expected rename to tests/build_tests/super_errors/expected/variant_coercion_float.res.expected diff --git a/jscomp/build_tests/super_errors/expected/variant_coercion_float_as.res.expected b/tests/build_tests/super_errors/expected/variant_coercion_float_as.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/variant_coercion_float_as.res.expected rename to tests/build_tests/super_errors/expected/variant_coercion_float_as.res.expected diff --git a/jscomp/build_tests/super_errors/expected/variant_coercion_int.res.expected b/tests/build_tests/super_errors/expected/variant_coercion_int.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/variant_coercion_int.res.expected rename to tests/build_tests/super_errors/expected/variant_coercion_int.res.expected diff --git a/jscomp/build_tests/super_errors/expected/variant_coercion_int_as.res.expected b/tests/build_tests/super_errors/expected/variant_coercion_int_as.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/variant_coercion_int_as.res.expected rename to tests/build_tests/super_errors/expected/variant_coercion_int_as.res.expected diff --git a/jscomp/build_tests/super_errors/expected/variant_coercion_open_polyvariant.res.expected b/tests/build_tests/super_errors/expected/variant_coercion_open_polyvariant.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/variant_coercion_open_polyvariant.res.expected rename to tests/build_tests/super_errors/expected/variant_coercion_open_polyvariant.res.expected diff --git a/jscomp/build_tests/super_errors/expected/variant_coercion_polyvariant_mismatch_as_attribute.res.expected b/tests/build_tests/super_errors/expected/variant_coercion_polyvariant_mismatch_as_attribute.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/variant_coercion_polyvariant_mismatch_as_attribute.res.expected rename to tests/build_tests/super_errors/expected/variant_coercion_polyvariant_mismatch_as_attribute.res.expected diff --git a/jscomp/build_tests/super_errors/expected/variant_coercion_polyvariant_mismatch_as_attribute2.res.expected b/tests/build_tests/super_errors/expected/variant_coercion_polyvariant_mismatch_as_attribute2.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/variant_coercion_polyvariant_mismatch_as_attribute2.res.expected rename to tests/build_tests/super_errors/expected/variant_coercion_polyvariant_mismatch_as_attribute2.res.expected diff --git a/jscomp/build_tests/super_errors/expected/variant_coercion_polyvariant_unmatched_cases.res.expected b/tests/build_tests/super_errors/expected/variant_coercion_polyvariant_unmatched_cases.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/variant_coercion_polyvariant_unmatched_cases.res.expected rename to tests/build_tests/super_errors/expected/variant_coercion_polyvariant_unmatched_cases.res.expected diff --git a/jscomp/build_tests/super_errors/expected/variant_coercion_polyvariant_with_payload.res.expected b/tests/build_tests/super_errors/expected/variant_coercion_polyvariant_with_payload.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/variant_coercion_polyvariant_with_payload.res.expected rename to tests/build_tests/super_errors/expected/variant_coercion_polyvariant_with_payload.res.expected diff --git a/jscomp/build_tests/super_errors/expected/variant_coercion_string.res.expected b/tests/build_tests/super_errors/expected/variant_coercion_string.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/variant_coercion_string.res.expected rename to tests/build_tests/super_errors/expected/variant_coercion_string.res.expected diff --git a/jscomp/build_tests/super_errors/expected/variant_coercion_string_as.res.expected b/tests/build_tests/super_errors/expected/variant_coercion_string_as.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/variant_coercion_string_as.res.expected rename to tests/build_tests/super_errors/expected/variant_coercion_string_as.res.expected diff --git a/jscomp/build_tests/super_errors/expected/variant_coercion_string_to_variant_no_payload.res.expected b/tests/build_tests/super_errors/expected/variant_coercion_string_to_variant_no_payload.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/variant_coercion_string_to_variant_no_payload.res.expected rename to tests/build_tests/super_errors/expected/variant_coercion_string_to_variant_no_payload.res.expected diff --git a/jscomp/build_tests/super_errors/expected/variant_coercion_string_unboxed.res.expected b/tests/build_tests/super_errors/expected/variant_coercion_string_unboxed.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/variant_coercion_string_unboxed.res.expected rename to tests/build_tests/super_errors/expected/variant_coercion_string_unboxed.res.expected diff --git a/jscomp/build_tests/super_errors/expected/variant_pattern_type_spreads_not_subtype.res.expected b/tests/build_tests/super_errors/expected/variant_pattern_type_spreads_not_subtype.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/variant_pattern_type_spreads_not_subtype.res.expected rename to tests/build_tests/super_errors/expected/variant_pattern_type_spreads_not_subtype.res.expected diff --git a/jscomp/build_tests/super_errors/expected/variant_pattern_type_spreads_not_variant.res.expected b/tests/build_tests/super_errors/expected/variant_pattern_type_spreads_not_variant.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/variant_pattern_type_spreads_not_variant.res.expected rename to tests/build_tests/super_errors/expected/variant_pattern_type_spreads_not_variant.res.expected diff --git a/jscomp/build_tests/super_errors/expected/variant_spread_abstract_type.res.expected b/tests/build_tests/super_errors/expected/variant_spread_abstract_type.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/variant_spread_abstract_type.res.expected rename to tests/build_tests/super_errors/expected/variant_spread_abstract_type.res.expected diff --git a/jscomp/build_tests/super_errors/expected/variant_spread_duplicate_constructors.res.expected b/tests/build_tests/super_errors/expected/variant_spread_duplicate_constructors.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/variant_spread_duplicate_constructors.res.expected rename to tests/build_tests/super_errors/expected/variant_spread_duplicate_constructors.res.expected diff --git a/jscomp/build_tests/super_errors/expected/variant_spread_extensible_variant.res.expected b/tests/build_tests/super_errors/expected/variant_spread_extensible_variant.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/variant_spread_extensible_variant.res.expected rename to tests/build_tests/super_errors/expected/variant_spread_extensible_variant.res.expected diff --git a/jscomp/build_tests/super_errors/expected/variant_spread_inline_records.res.expected b/tests/build_tests/super_errors/expected/variant_spread_inline_records.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/variant_spread_inline_records.res.expected rename to tests/build_tests/super_errors/expected/variant_spread_inline_records.res.expected diff --git a/jscomp/build_tests/super_errors/expected/variant_spread_recursive.res.expected b/tests/build_tests/super_errors/expected/variant_spread_recursive.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/variant_spread_recursive.res.expected rename to tests/build_tests/super_errors/expected/variant_spread_recursive.res.expected diff --git a/jscomp/build_tests/super_errors/expected/variant_spread_tag_missing.res.expected b/tests/build_tests/super_errors/expected/variant_spread_tag_missing.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/variant_spread_tag_missing.res.expected rename to tests/build_tests/super_errors/expected/variant_spread_tag_missing.res.expected diff --git a/jscomp/build_tests/super_errors/expected/variant_spread_tag_value_mismatch.res.expected b/tests/build_tests/super_errors/expected/variant_spread_tag_value_mismatch.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/variant_spread_tag_value_mismatch.res.expected rename to tests/build_tests/super_errors/expected/variant_spread_tag_value_mismatch.res.expected diff --git a/jscomp/build_tests/super_errors/expected/variant_spread_type_parameters.res.expected b/tests/build_tests/super_errors/expected/variant_spread_type_parameters.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/variant_spread_type_parameters.res.expected rename to tests/build_tests/super_errors/expected/variant_spread_type_parameters.res.expected diff --git a/jscomp/build_tests/super_errors/expected/variant_spread_unboxed_mismatch.res.expected b/tests/build_tests/super_errors/expected/variant_spread_unboxed_mismatch.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/variant_spread_unboxed_mismatch.res.expected rename to tests/build_tests/super_errors/expected/variant_spread_unboxed_mismatch.res.expected diff --git a/jscomp/build_tests/super_errors/expected/variant_to_variant_coercion.res.expected b/tests/build_tests/super_errors/expected/variant_to_variant_coercion.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/variant_to_variant_coercion.res.expected rename to tests/build_tests/super_errors/expected/variant_to_variant_coercion.res.expected diff --git a/jscomp/build_tests/super_errors/expected/variant_to_variant_coercion_as.res.expected b/tests/build_tests/super_errors/expected/variant_to_variant_coercion_as.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/variant_to_variant_coercion_as.res.expected rename to tests/build_tests/super_errors/expected/variant_to_variant_coercion_as.res.expected diff --git a/jscomp/build_tests/super_errors/expected/variant_to_variant_coercion_tag.res.expected b/tests/build_tests/super_errors/expected/variant_to_variant_coercion_tag.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/variant_to_variant_coercion_tag.res.expected rename to tests/build_tests/super_errors/expected/variant_to_variant_coercion_tag.res.expected diff --git a/jscomp/build_tests/super_errors/expected/variant_to_variant_coercion_unboxed.res.expected b/tests/build_tests/super_errors/expected/variant_to_variant_coercion_unboxed.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/variant_to_variant_coercion_unboxed.res.expected rename to tests/build_tests/super_errors/expected/variant_to_variant_coercion_unboxed.res.expected diff --git a/jscomp/build_tests/super_errors/expected/warnings1.res.expected b/tests/build_tests/super_errors/expected/warnings1.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/warnings1.res.expected rename to tests/build_tests/super_errors/expected/warnings1.res.expected diff --git a/jscomp/build_tests/super_errors/expected/warnings2.res.expected b/tests/build_tests/super_errors/expected/warnings2.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/warnings2.res.expected rename to tests/build_tests/super_errors/expected/warnings2.res.expected diff --git a/jscomp/build_tests/super_errors/expected/warnings4.res.expected b/tests/build_tests/super_errors/expected/warnings4.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/warnings4.res.expected rename to tests/build_tests/super_errors/expected/warnings4.res.expected diff --git a/jscomp/build_tests/super_errors/expected/warnings5.res.expected b/tests/build_tests/super_errors/expected/warnings5.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/warnings5.res.expected rename to tests/build_tests/super_errors/expected/warnings5.res.expected diff --git a/jscomp/build_tests/super_errors/expected/wrong_name_component_prop.res.expected b/tests/build_tests/super_errors/expected/wrong_name_component_prop.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/wrong_name_component_prop.res.expected rename to tests/build_tests/super_errors/expected/wrong_name_component_prop.res.expected diff --git a/jscomp/build_tests/super_errors/expected/wrong_name_record_field.res.expected b/tests/build_tests/super_errors/expected/wrong_name_record_field.res.expected similarity index 100% rename from jscomp/build_tests/super_errors/expected/wrong_name_record_field.res.expected rename to tests/build_tests/super_errors/expected/wrong_name_record_field.res.expected diff --git a/jscomp/build_tests/super_errors/fixtures/DerivingAccessorsRecordParam.res b/tests/build_tests/super_errors/fixtures/DerivingAccessorsRecordParam.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/DerivingAccessorsRecordParam.res rename to tests/build_tests/super_errors/fixtures/DerivingAccessorsRecordParam.res diff --git a/jscomp/build_tests/super_errors/fixtures/RecordInclusion.res b/tests/build_tests/super_errors/fixtures/RecordInclusion.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/RecordInclusion.res rename to tests/build_tests/super_errors/fixtures/RecordInclusion.res diff --git a/jscomp/build_tests/super_errors/fixtures/UncurriedArgsNotApplied.res b/tests/build_tests/super_errors/fixtures/UncurriedArgsNotApplied.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/UncurriedArgsNotApplied.res rename to tests/build_tests/super_errors/fixtures/UncurriedArgsNotApplied.res diff --git a/jscomp/build_tests/super_errors/fixtures/UntaggedImplIntf.res b/tests/build_tests/super_errors/fixtures/UntaggedImplIntf.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/UntaggedImplIntf.res rename to tests/build_tests/super_errors/fixtures/UntaggedImplIntf.res diff --git a/jscomp/build_tests/super_errors/fixtures/UntaggedNonUnary1.res b/tests/build_tests/super_errors/fixtures/UntaggedNonUnary1.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/UntaggedNonUnary1.res rename to tests/build_tests/super_errors/fixtures/UntaggedNonUnary1.res diff --git a/jscomp/build_tests/super_errors/fixtures/UntaggedNonUnary2.res b/tests/build_tests/super_errors/fixtures/UntaggedNonUnary2.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/UntaggedNonUnary2.res rename to tests/build_tests/super_errors/fixtures/UntaggedNonUnary2.res diff --git a/jscomp/build_tests/super_errors/fixtures/UntaggedTupleAndArray.res b/tests/build_tests/super_errors/fixtures/UntaggedTupleAndArray.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/UntaggedTupleAndArray.res rename to tests/build_tests/super_errors/fixtures/UntaggedTupleAndArray.res diff --git a/jscomp/build_tests/super_errors/fixtures/UntaggedUnknown.res b/tests/build_tests/super_errors/fixtures/UntaggedUnknown.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/UntaggedUnknown.res rename to tests/build_tests/super_errors/fixtures/UntaggedUnknown.res diff --git a/jscomp/build_tests/super_errors/fixtures/arity_mismatch.res b/tests/build_tests/super_errors/fixtures/arity_mismatch.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/arity_mismatch.res rename to tests/build_tests/super_errors/fixtures/arity_mismatch.res diff --git a/jscomp/build_tests/super_errors/fixtures/arity_mismatch2.res b/tests/build_tests/super_errors/fixtures/arity_mismatch2.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/arity_mismatch2.res rename to tests/build_tests/super_errors/fixtures/arity_mismatch2.res diff --git a/jscomp/build_tests/super_errors/fixtures/arity_mismatch3.res b/tests/build_tests/super_errors/fixtures/arity_mismatch3.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/arity_mismatch3.res rename to tests/build_tests/super_errors/fixtures/arity_mismatch3.res diff --git a/jscomp/build_tests/super_errors/fixtures/array_item_type_mismatch.res b/tests/build_tests/super_errors/fixtures/array_item_type_mismatch.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/array_item_type_mismatch.res rename to tests/build_tests/super_errors/fixtures/array_item_type_mismatch.res diff --git a/jscomp/build_tests/super_errors/fixtures/await.res b/tests/build_tests/super_errors/fixtures/await.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/await.res rename to tests/build_tests/super_errors/fixtures/await.res diff --git a/jscomp/build_tests/super_errors/fixtures/bigint_match_literal.res b/tests/build_tests/super_errors/fixtures/bigint_match_literal.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/bigint_match_literal.res rename to tests/build_tests/super_errors/fixtures/bigint_match_literal.res diff --git a/jscomp/build_tests/super_errors/fixtures/c_for_u_in_c_mode.res b/tests/build_tests/super_errors/fixtures/c_for_u_in_c_mode.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/c_for_u_in_c_mode.res rename to tests/build_tests/super_errors/fixtures/c_for_u_in_c_mode.res diff --git a/jscomp/build_tests/super_errors/fixtures/c_for_u_in_u_mode.res b/tests/build_tests/super_errors/fixtures/c_for_u_in_u_mode.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/c_for_u_in_u_mode.res rename to tests/build_tests/super_errors/fixtures/c_for_u_in_u_mode.res diff --git a/jscomp/build_tests/super_errors/fixtures/collections.res b/tests/build_tests/super_errors/fixtures/collections.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/collections.res rename to tests/build_tests/super_errors/fixtures/collections.res diff --git a/jscomp/build_tests/super_errors/fixtures/comparison_operator.res b/tests/build_tests/super_errors/fixtures/comparison_operator.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/comparison_operator.res rename to tests/build_tests/super_errors/fixtures/comparison_operator.res diff --git a/jscomp/build_tests/super_errors/fixtures/component_invalid_prop.res b/tests/build_tests/super_errors/fixtures/component_invalid_prop.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/component_invalid_prop.res rename to tests/build_tests/super_errors/fixtures/component_invalid_prop.res diff --git a/jscomp/build_tests/super_errors/fixtures/component_missing_prop.res b/tests/build_tests/super_errors/fixtures/component_missing_prop.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/component_missing_prop.res rename to tests/build_tests/super_errors/fixtures/component_missing_prop.res diff --git a/jscomp/build_tests/super_errors/fixtures/component_missing_prop_children.res b/tests/build_tests/super_errors/fixtures/component_missing_prop_children.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/component_missing_prop_children.res rename to tests/build_tests/super_errors/fixtures/component_missing_prop_children.res diff --git a/jscomp/build_tests/super_errors/fixtures/component_missing_prop_test.res b/tests/build_tests/super_errors/fixtures/component_missing_prop_test.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/component_missing_prop_test.res rename to tests/build_tests/super_errors/fixtures/component_missing_prop_test.res diff --git a/jscomp/build_tests/super_errors/fixtures/component_prop_passed_multiple_times.res b/tests/build_tests/super_errors/fixtures/component_prop_passed_multiple_times.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/component_prop_passed_multiple_times.res rename to tests/build_tests/super_errors/fixtures/component_prop_passed_multiple_times.res diff --git a/jscomp/build_tests/super_errors/fixtures/curried_expected.res b/tests/build_tests/super_errors/fixtures/curried_expected.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/curried_expected.res rename to tests/build_tests/super_errors/fixtures/curried_expected.res diff --git a/jscomp/build_tests/super_errors/fixtures/curry_in_uncurry.res b/tests/build_tests/super_errors/fixtures/curry_in_uncurry.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/curry_in_uncurry.res rename to tests/build_tests/super_errors/fixtures/curry_in_uncurry.res diff --git a/jscomp/build_tests/super_errors/fixtures/dict_coercion.res b/tests/build_tests/super_errors/fixtures/dict_coercion.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/dict_coercion.res rename to tests/build_tests/super_errors/fixtures/dict_coercion.res diff --git a/jscomp/build_tests/super_errors/fixtures/dict_inference.res b/tests/build_tests/super_errors/fixtures/dict_inference.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/dict_inference.res rename to tests/build_tests/super_errors/fixtures/dict_inference.res diff --git a/jscomp/build_tests/super_errors/fixtures/dict_magic_field_on_non_dict.res b/tests/build_tests/super_errors/fixtures/dict_magic_field_on_non_dict.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/dict_magic_field_on_non_dict.res rename to tests/build_tests/super_errors/fixtures/dict_magic_field_on_non_dict.res diff --git a/jscomp/build_tests/super_errors/fixtures/dict_pattern_inference.res b/tests/build_tests/super_errors/fixtures/dict_pattern_inference.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/dict_pattern_inference.res rename to tests/build_tests/super_errors/fixtures/dict_pattern_inference.res diff --git a/jscomp/build_tests/super_errors/fixtures/dict_pattern_inference_constrained.res b/tests/build_tests/super_errors/fixtures/dict_pattern_inference_constrained.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/dict_pattern_inference_constrained.res rename to tests/build_tests/super_errors/fixtures/dict_pattern_inference_constrained.res diff --git a/jscomp/build_tests/super_errors/fixtures/dict_pattern_regular_record.res b/tests/build_tests/super_errors/fixtures/dict_pattern_regular_record.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/dict_pattern_regular_record.res rename to tests/build_tests/super_errors/fixtures/dict_pattern_regular_record.res diff --git a/jscomp/build_tests/super_errors/fixtures/dict_record_style_field_access.res b/tests/build_tests/super_errors/fixtures/dict_record_style_field_access.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/dict_record_style_field_access.res rename to tests/build_tests/super_errors/fixtures/dict_record_style_field_access.res diff --git a/jscomp/build_tests/super_errors/fixtures/directive_attr.res b/tests/build_tests/super_errors/fixtures/directive_attr.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/directive_attr.res rename to tests/build_tests/super_errors/fixtures/directive_attr.res diff --git a/jscomp/build_tests/super_errors/fixtures/duplicate_labels_error.res b/tests/build_tests/super_errors/fixtures/duplicate_labels_error.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/duplicate_labels_error.res rename to tests/build_tests/super_errors/fixtures/duplicate_labels_error.res diff --git a/jscomp/build_tests/super_errors/fixtures/fieldNotOptional.res b/tests/build_tests/super_errors/fixtures/fieldNotOptional.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/fieldNotOptional.res rename to tests/build_tests/super_errors/fixtures/fieldNotOptional.res diff --git a/jscomp/build_tests/super_errors/fixtures/function_argument_mismatch.res b/tests/build_tests/super_errors/fixtures/function_argument_mismatch.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/function_argument_mismatch.res rename to tests/build_tests/super_errors/fixtures/function_argument_mismatch.res diff --git a/jscomp/build_tests/super_errors/fixtures/function_call_mismatch.res b/tests/build_tests/super_errors/fixtures/function_call_mismatch.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/function_call_mismatch.res rename to tests/build_tests/super_errors/fixtures/function_call_mismatch.res diff --git a/jscomp/build_tests/super_errors/fixtures/function_return_mismatch.res b/tests/build_tests/super_errors/fixtures/function_return_mismatch.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/function_return_mismatch.res rename to tests/build_tests/super_errors/fixtures/function_return_mismatch.res diff --git a/jscomp/build_tests/super_errors/fixtures/highlighting1.res b/tests/build_tests/super_errors/fixtures/highlighting1.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/highlighting1.res rename to tests/build_tests/super_errors/fixtures/highlighting1.res diff --git a/jscomp/build_tests/super_errors/fixtures/highlighting2.res b/tests/build_tests/super_errors/fixtures/highlighting2.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/highlighting2.res rename to tests/build_tests/super_errors/fixtures/highlighting2.res diff --git a/jscomp/build_tests/super_errors/fixtures/highlighting3.res b/tests/build_tests/super_errors/fixtures/highlighting3.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/highlighting3.res rename to tests/build_tests/super_errors/fixtures/highlighting3.res diff --git a/jscomp/build_tests/super_errors/fixtures/highlighting4.res b/tests/build_tests/super_errors/fixtures/highlighting4.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/highlighting4.res rename to tests/build_tests/super_errors/fixtures/highlighting4.res diff --git a/jscomp/build_tests/super_errors/fixtures/highlighting5.res b/tests/build_tests/super_errors/fixtures/highlighting5.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/highlighting5.res rename to tests/build_tests/super_errors/fixtures/highlighting5.res diff --git a/jscomp/build_tests/super_errors/fixtures/highlighting6.res b/tests/build_tests/super_errors/fixtures/highlighting6.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/highlighting6.res rename to tests/build_tests/super_errors/fixtures/highlighting6.res diff --git a/jscomp/build_tests/super_errors/fixtures/if_branch_mismatch.res b/tests/build_tests/super_errors/fixtures/if_branch_mismatch.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/if_branch_mismatch.res rename to tests/build_tests/super_errors/fixtures/if_branch_mismatch.res diff --git a/jscomp/build_tests/super_errors/fixtures/if_condition_mismatch.res b/tests/build_tests/super_errors/fixtures/if_condition_mismatch.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/if_condition_mismatch.res rename to tests/build_tests/super_errors/fixtures/if_condition_mismatch.res diff --git a/jscomp/build_tests/super_errors/fixtures/intoverflow.res b/tests/build_tests/super_errors/fixtures/intoverflow.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/intoverflow.res rename to tests/build_tests/super_errors/fixtures/intoverflow.res diff --git a/jscomp/build_tests/super_errors/fixtures/jinterp.res b/tests/build_tests/super_errors/fixtures/jinterp.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/jinterp.res rename to tests/build_tests/super_errors/fixtures/jinterp.res diff --git a/jscomp/build_tests/super_errors/fixtures/math_operator_constant.res b/tests/build_tests/super_errors/fixtures/math_operator_constant.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/math_operator_constant.res rename to tests/build_tests/super_errors/fixtures/math_operator_constant.res diff --git a/jscomp/build_tests/super_errors/fixtures/math_operator_float.res b/tests/build_tests/super_errors/fixtures/math_operator_float.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/math_operator_float.res rename to tests/build_tests/super_errors/fixtures/math_operator_float.res diff --git a/jscomp/build_tests/super_errors/fixtures/math_operator_int.res b/tests/build_tests/super_errors/fixtures/math_operator_int.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/math_operator_int.res rename to tests/build_tests/super_errors/fixtures/math_operator_int.res diff --git a/jscomp/build_tests/super_errors/fixtures/math_operator_string.res b/tests/build_tests/super_errors/fixtures/math_operator_string.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/math_operator_string.res rename to tests/build_tests/super_errors/fixtures/math_operator_string.res diff --git a/jscomp/build_tests/super_errors/fixtures/method_arity_mismatch.res b/tests/build_tests/super_errors/fixtures/method_arity_mismatch.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/method_arity_mismatch.res rename to tests/build_tests/super_errors/fixtures/method_arity_mismatch.res diff --git a/jscomp/build_tests/super_errors/fixtures/missing_label.res b/tests/build_tests/super_errors/fixtures/missing_label.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/missing_label.res rename to tests/build_tests/super_errors/fixtures/missing_label.res diff --git a/jscomp/build_tests/super_errors/fixtures/missing_labels.res b/tests/build_tests/super_errors/fixtures/missing_labels.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/missing_labels.res rename to tests/build_tests/super_errors/fixtures/missing_labels.res diff --git a/jscomp/build_tests/super_errors/fixtures/modules1.res b/tests/build_tests/super_errors/fixtures/modules1.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/modules1.res rename to tests/build_tests/super_errors/fixtures/modules1.res diff --git a/jscomp/build_tests/super_errors/fixtures/modules2.res b/tests/build_tests/super_errors/fixtures/modules2.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/modules2.res rename to tests/build_tests/super_errors/fixtures/modules2.res diff --git a/jscomp/build_tests/super_errors/fixtures/modules3.res b/tests/build_tests/super_errors/fixtures/modules3.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/modules3.res rename to tests/build_tests/super_errors/fixtures/modules3.res diff --git a/jscomp/build_tests/super_errors/fixtures/moreArguments1.res b/tests/build_tests/super_errors/fixtures/moreArguments1.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/moreArguments1.res rename to tests/build_tests/super_errors/fixtures/moreArguments1.res diff --git a/jscomp/build_tests/super_errors/fixtures/moreArguments2.res b/tests/build_tests/super_errors/fixtures/moreArguments2.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/moreArguments2.res rename to tests/build_tests/super_errors/fixtures/moreArguments2.res diff --git a/jscomp/build_tests/super_errors/fixtures/moreArguments3.res b/tests/build_tests/super_errors/fixtures/moreArguments3.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/moreArguments3.res rename to tests/build_tests/super_errors/fixtures/moreArguments3.res diff --git a/jscomp/build_tests/super_errors/fixtures/moreArguments4.res b/tests/build_tests/super_errors/fixtures/moreArguments4.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/moreArguments4.res rename to tests/build_tests/super_errors/fixtures/moreArguments4.res diff --git a/jscomp/build_tests/super_errors/fixtures/moreArguments5.res b/tests/build_tests/super_errors/fixtures/moreArguments5.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/moreArguments5.res rename to tests/build_tests/super_errors/fixtures/moreArguments5.res diff --git a/jscomp/build_tests/super_errors/fixtures/non_function_uncurried_apply.res b/tests/build_tests/super_errors/fixtures/non_function_uncurried_apply.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/non_function_uncurried_apply.res rename to tests/build_tests/super_errors/fixtures/non_function_uncurried_apply.res diff --git a/jscomp/build_tests/super_errors/fixtures/partial_app.res b/tests/build_tests/super_errors/fixtures/partial_app.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/partial_app.res rename to tests/build_tests/super_errors/fixtures/partial_app.res diff --git a/jscomp/build_tests/super_errors/fixtures/pattern_matching_on_option_but_value_not_option.res b/tests/build_tests/super_errors/fixtures/pattern_matching_on_option_but_value_not_option.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/pattern_matching_on_option_but_value_not_option.res rename to tests/build_tests/super_errors/fixtures/pattern_matching_on_option_but_value_not_option.res diff --git a/jscomp/build_tests/super_errors/fixtures/pattern_matching_on_value_but_is_option.res b/tests/build_tests/super_errors/fixtures/pattern_matching_on_value_but_is_option.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/pattern_matching_on_value_but_is_option.res rename to tests/build_tests/super_errors/fixtures/pattern_matching_on_value_but_is_option.res diff --git a/jscomp/build_tests/super_errors/fixtures/polyvariant_name_formatting.res b/tests/build_tests/super_errors/fixtures/polyvariant_name_formatting.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/polyvariant_name_formatting.res rename to tests/build_tests/super_errors/fixtures/polyvariant_name_formatting.res diff --git a/jscomp/build_tests/super_errors/fixtures/primitives1.res b/tests/build_tests/super_errors/fixtures/primitives1.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/primitives1.res rename to tests/build_tests/super_errors/fixtures/primitives1.res diff --git a/jscomp/build_tests/super_errors/fixtures/primitives10.res b/tests/build_tests/super_errors/fixtures/primitives10.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/primitives10.res rename to tests/build_tests/super_errors/fixtures/primitives10.res diff --git a/jscomp/build_tests/super_errors/fixtures/primitives11.res b/tests/build_tests/super_errors/fixtures/primitives11.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/primitives11.res rename to tests/build_tests/super_errors/fixtures/primitives11.res diff --git a/jscomp/build_tests/super_errors/fixtures/primitives2.res b/tests/build_tests/super_errors/fixtures/primitives2.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/primitives2.res rename to tests/build_tests/super_errors/fixtures/primitives2.res diff --git a/jscomp/build_tests/super_errors/fixtures/primitives3.res b/tests/build_tests/super_errors/fixtures/primitives3.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/primitives3.res rename to tests/build_tests/super_errors/fixtures/primitives3.res diff --git a/jscomp/build_tests/super_errors/fixtures/primitives4.res b/tests/build_tests/super_errors/fixtures/primitives4.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/primitives4.res rename to tests/build_tests/super_errors/fixtures/primitives4.res diff --git a/jscomp/build_tests/super_errors/fixtures/primitives5.res b/tests/build_tests/super_errors/fixtures/primitives5.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/primitives5.res rename to tests/build_tests/super_errors/fixtures/primitives5.res diff --git a/jscomp/build_tests/super_errors/fixtures/primitives6.res b/tests/build_tests/super_errors/fixtures/primitives6.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/primitives6.res rename to tests/build_tests/super_errors/fixtures/primitives6.res diff --git a/jscomp/build_tests/super_errors/fixtures/primitives7.res b/tests/build_tests/super_errors/fixtures/primitives7.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/primitives7.res rename to tests/build_tests/super_errors/fixtures/primitives7.res diff --git a/jscomp/build_tests/super_errors/fixtures/primitives8.res b/tests/build_tests/super_errors/fixtures/primitives8.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/primitives8.res rename to tests/build_tests/super_errors/fixtures/primitives8.res diff --git a/jscomp/build_tests/super_errors/fixtures/primitives9.res b/tests/build_tests/super_errors/fixtures/primitives9.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/primitives9.res rename to tests/build_tests/super_errors/fixtures/primitives9.res diff --git a/jscomp/build_tests/super_errors/fixtures/private_without_body.res b/tests/build_tests/super_errors/fixtures/private_without_body.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/private_without_body.res rename to tests/build_tests/super_errors/fixtures/private_without_body.res diff --git a/jscomp/build_tests/super_errors/fixtures/record_type_spreads.res b/tests/build_tests/super_errors/fixtures/record_type_spreads.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/record_type_spreads.res rename to tests/build_tests/super_errors/fixtures/record_type_spreads.res diff --git a/jscomp/build_tests/super_errors/fixtures/record_type_spreads_deep_sub.res b/tests/build_tests/super_errors/fixtures/record_type_spreads_deep_sub.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/record_type_spreads_deep_sub.res rename to tests/build_tests/super_errors/fixtures/record_type_spreads_deep_sub.res diff --git a/jscomp/build_tests/super_errors/fixtures/recursive_type.res b/tests/build_tests/super_errors/fixtures/recursive_type.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/recursive_type.res rename to tests/build_tests/super_errors/fixtures/recursive_type.res diff --git a/jscomp/build_tests/super_errors/fixtures/repeated_def_extension_constr.res b/tests/build_tests/super_errors/fixtures/repeated_def_extension_constr.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/repeated_def_extension_constr.res rename to tests/build_tests/super_errors/fixtures/repeated_def_extension_constr.res diff --git a/jscomp/build_tests/super_errors/fixtures/repeated_def_module_types.res b/tests/build_tests/super_errors/fixtures/repeated_def_module_types.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/repeated_def_module_types.res rename to tests/build_tests/super_errors/fixtures/repeated_def_module_types.res diff --git a/jscomp/build_tests/super_errors/fixtures/repeated_def_modules.res b/tests/build_tests/super_errors/fixtures/repeated_def_modules.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/repeated_def_modules.res rename to tests/build_tests/super_errors/fixtures/repeated_def_modules.res diff --git a/jscomp/build_tests/super_errors/fixtures/repeated_def_types.res b/tests/build_tests/super_errors/fixtures/repeated_def_types.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/repeated_def_types.res rename to tests/build_tests/super_errors/fixtures/repeated_def_types.res diff --git a/jscomp/build_tests/super_errors/fixtures/set_record_field_type_match.res b/tests/build_tests/super_errors/fixtures/set_record_field_type_match.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/set_record_field_type_match.res rename to tests/build_tests/super_errors/fixtures/set_record_field_type_match.res diff --git a/jscomp/build_tests/super_errors/fixtures/switch_different_types.res b/tests/build_tests/super_errors/fixtures/switch_different_types.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/switch_different_types.res rename to tests/build_tests/super_errors/fixtures/switch_different_types.res diff --git a/jscomp/build_tests/super_errors/fixtures/switch_guard.res b/tests/build_tests/super_errors/fixtures/switch_guard.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/switch_guard.res rename to tests/build_tests/super_errors/fixtures/switch_guard.res diff --git a/jscomp/build_tests/super_errors/fixtures/syntaxErrors1.res b/tests/build_tests/super_errors/fixtures/syntaxErrors1.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/syntaxErrors1.res rename to tests/build_tests/super_errors/fixtures/syntaxErrors1.res diff --git a/jscomp/build_tests/super_errors/fixtures/syntaxErrors2.res b/tests/build_tests/super_errors/fixtures/syntaxErrors2.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/syntaxErrors2.res rename to tests/build_tests/super_errors/fixtures/syntaxErrors2.res diff --git a/jscomp/build_tests/super_errors/fixtures/syntaxErrors3.res b/tests/build_tests/super_errors/fixtures/syntaxErrors3.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/syntaxErrors3.res rename to tests/build_tests/super_errors/fixtures/syntaxErrors3.res diff --git a/jscomp/build_tests/super_errors/fixtures/syntaxErrors4.res b/tests/build_tests/super_errors/fixtures/syntaxErrors4.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/syntaxErrors4.res rename to tests/build_tests/super_errors/fixtures/syntaxErrors4.res diff --git a/jscomp/build_tests/super_errors/fixtures/syntaxErrors5.res b/tests/build_tests/super_errors/fixtures/syntaxErrors5.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/syntaxErrors5.res rename to tests/build_tests/super_errors/fixtures/syntaxErrors5.res diff --git a/jscomp/build_tests/super_errors/fixtures/todo_with_no_payload.res b/tests/build_tests/super_errors/fixtures/todo_with_no_payload.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/todo_with_no_payload.res rename to tests/build_tests/super_errors/fixtures/todo_with_no_payload.res diff --git a/jscomp/build_tests/super_errors/fixtures/todo_with_payload.res b/tests/build_tests/super_errors/fixtures/todo_with_payload.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/todo_with_payload.res rename to tests/build_tests/super_errors/fixtures/todo_with_payload.res diff --git a/jscomp/build_tests/super_errors/fixtures/top_level_fn_call_not_unit.res b/tests/build_tests/super_errors/fixtures/top_level_fn_call_not_unit.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/top_level_fn_call_not_unit.res rename to tests/build_tests/super_errors/fixtures/top_level_fn_call_not_unit.res diff --git a/jscomp/build_tests/super_errors/fixtures/top_level_value_not_unit.res b/tests/build_tests/super_errors/fixtures/top_level_value_not_unit.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/top_level_value_not_unit.res rename to tests/build_tests/super_errors/fixtures/top_level_value_not_unit.res diff --git a/jscomp/build_tests/super_errors/fixtures/type1.res b/tests/build_tests/super_errors/fixtures/type1.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/type1.res rename to tests/build_tests/super_errors/fixtures/type1.res diff --git a/jscomp/build_tests/super_errors/fixtures/type2.res b/tests/build_tests/super_errors/fixtures/type2.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/type2.res rename to tests/build_tests/super_errors/fixtures/type2.res diff --git a/jscomp/build_tests/super_errors/fixtures/type3.res b/tests/build_tests/super_errors/fixtures/type3.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/type3.res rename to tests/build_tests/super_errors/fixtures/type3.res diff --git a/jscomp/build_tests/super_errors/fixtures/u_for_c_in_c_mode.res b/tests/build_tests/super_errors/fixtures/u_for_c_in_c_mode.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/u_for_c_in_c_mode.res rename to tests/build_tests/super_errors/fixtures/u_for_c_in_c_mode.res diff --git a/jscomp/build_tests/super_errors/fixtures/u_for_c_in_u_mode.res b/tests/build_tests/super_errors/fixtures/u_for_c_in_u_mode.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/u_for_c_in_u_mode.res rename to tests/build_tests/super_errors/fixtures/u_for_c_in_u_mode.res diff --git a/jscomp/build_tests/super_errors/fixtures/unbound_record_field.res b/tests/build_tests/super_errors/fixtures/unbound_record_field.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/unbound_record_field.res rename to tests/build_tests/super_errors/fixtures/unbound_record_field.res diff --git a/jscomp/build_tests/super_errors/fixtures/uncurried_expected.res b/tests/build_tests/super_errors/fixtures/uncurried_expected.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/uncurried_expected.res rename to tests/build_tests/super_errors/fixtures/uncurried_expected.res diff --git a/jscomp/build_tests/super_errors/fixtures/uncurried_wrong_label.res b/tests/build_tests/super_errors/fixtures/uncurried_wrong_label.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/uncurried_wrong_label.res rename to tests/build_tests/super_errors/fixtures/uncurried_wrong_label.res diff --git a/jscomp/build_tests/super_errors/fixtures/unicode_location.res b/tests/build_tests/super_errors/fixtures/unicode_location.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/unicode_location.res rename to tests/build_tests/super_errors/fixtures/unicode_location.res diff --git a/jscomp/build_tests/super_errors/fixtures/unknown_tagged_template_function.res b/tests/build_tests/super_errors/fixtures/unknown_tagged_template_function.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/unknown_tagged_template_function.res rename to tests/build_tests/super_errors/fixtures/unknown_tagged_template_function.res diff --git a/jscomp/build_tests/super_errors/fixtures/unused_variable.res b/tests/build_tests/super_errors/fixtures/unused_variable.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/unused_variable.res rename to tests/build_tests/super_errors/fixtures/unused_variable.res diff --git a/jscomp/build_tests/super_errors/fixtures/unused_warnings.res b/tests/build_tests/super_errors/fixtures/unused_warnings.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/unused_warnings.res rename to tests/build_tests/super_errors/fixtures/unused_warnings.res diff --git a/jscomp/build_tests/super_errors/fixtures/variant_coercion_bigint.res b/tests/build_tests/super_errors/fixtures/variant_coercion_bigint.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/variant_coercion_bigint.res rename to tests/build_tests/super_errors/fixtures/variant_coercion_bigint.res diff --git a/jscomp/build_tests/super_errors/fixtures/variant_coercion_bigint_as.res b/tests/build_tests/super_errors/fixtures/variant_coercion_bigint_as.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/variant_coercion_bigint_as.res rename to tests/build_tests/super_errors/fixtures/variant_coercion_bigint_as.res diff --git a/jscomp/build_tests/super_errors/fixtures/variant_coercion_float.res b/tests/build_tests/super_errors/fixtures/variant_coercion_float.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/variant_coercion_float.res rename to tests/build_tests/super_errors/fixtures/variant_coercion_float.res diff --git a/jscomp/build_tests/super_errors/fixtures/variant_coercion_float_as.res b/tests/build_tests/super_errors/fixtures/variant_coercion_float_as.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/variant_coercion_float_as.res rename to tests/build_tests/super_errors/fixtures/variant_coercion_float_as.res diff --git a/jscomp/build_tests/super_errors/fixtures/variant_coercion_int.res b/tests/build_tests/super_errors/fixtures/variant_coercion_int.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/variant_coercion_int.res rename to tests/build_tests/super_errors/fixtures/variant_coercion_int.res diff --git a/jscomp/build_tests/super_errors/fixtures/variant_coercion_int_as.res b/tests/build_tests/super_errors/fixtures/variant_coercion_int_as.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/variant_coercion_int_as.res rename to tests/build_tests/super_errors/fixtures/variant_coercion_int_as.res diff --git a/jscomp/build_tests/super_errors/fixtures/variant_coercion_open_polyvariant.res b/tests/build_tests/super_errors/fixtures/variant_coercion_open_polyvariant.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/variant_coercion_open_polyvariant.res rename to tests/build_tests/super_errors/fixtures/variant_coercion_open_polyvariant.res diff --git a/jscomp/build_tests/super_errors/fixtures/variant_coercion_polyvariant_mismatch_as_attribute.res b/tests/build_tests/super_errors/fixtures/variant_coercion_polyvariant_mismatch_as_attribute.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/variant_coercion_polyvariant_mismatch_as_attribute.res rename to tests/build_tests/super_errors/fixtures/variant_coercion_polyvariant_mismatch_as_attribute.res diff --git a/jscomp/build_tests/super_errors/fixtures/variant_coercion_polyvariant_mismatch_as_attribute2.res b/tests/build_tests/super_errors/fixtures/variant_coercion_polyvariant_mismatch_as_attribute2.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/variant_coercion_polyvariant_mismatch_as_attribute2.res rename to tests/build_tests/super_errors/fixtures/variant_coercion_polyvariant_mismatch_as_attribute2.res diff --git a/jscomp/build_tests/super_errors/fixtures/variant_coercion_polyvariant_unmatched_cases.res b/tests/build_tests/super_errors/fixtures/variant_coercion_polyvariant_unmatched_cases.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/variant_coercion_polyvariant_unmatched_cases.res rename to tests/build_tests/super_errors/fixtures/variant_coercion_polyvariant_unmatched_cases.res diff --git a/jscomp/build_tests/super_errors/fixtures/variant_coercion_polyvariant_with_payload.res b/tests/build_tests/super_errors/fixtures/variant_coercion_polyvariant_with_payload.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/variant_coercion_polyvariant_with_payload.res rename to tests/build_tests/super_errors/fixtures/variant_coercion_polyvariant_with_payload.res diff --git a/jscomp/build_tests/super_errors/fixtures/variant_coercion_string.res b/tests/build_tests/super_errors/fixtures/variant_coercion_string.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/variant_coercion_string.res rename to tests/build_tests/super_errors/fixtures/variant_coercion_string.res diff --git a/jscomp/build_tests/super_errors/fixtures/variant_coercion_string_as.res b/tests/build_tests/super_errors/fixtures/variant_coercion_string_as.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/variant_coercion_string_as.res rename to tests/build_tests/super_errors/fixtures/variant_coercion_string_as.res diff --git a/jscomp/build_tests/super_errors/fixtures/variant_coercion_string_to_variant_no_payload.res b/tests/build_tests/super_errors/fixtures/variant_coercion_string_to_variant_no_payload.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/variant_coercion_string_to_variant_no_payload.res rename to tests/build_tests/super_errors/fixtures/variant_coercion_string_to_variant_no_payload.res diff --git a/jscomp/build_tests/super_errors/fixtures/variant_coercion_string_unboxed.res b/tests/build_tests/super_errors/fixtures/variant_coercion_string_unboxed.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/variant_coercion_string_unboxed.res rename to tests/build_tests/super_errors/fixtures/variant_coercion_string_unboxed.res diff --git a/jscomp/build_tests/super_errors/fixtures/variant_pattern_type_spreads_not_subtype.res b/tests/build_tests/super_errors/fixtures/variant_pattern_type_spreads_not_subtype.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/variant_pattern_type_spreads_not_subtype.res rename to tests/build_tests/super_errors/fixtures/variant_pattern_type_spreads_not_subtype.res diff --git a/jscomp/build_tests/super_errors/fixtures/variant_pattern_type_spreads_not_variant.res b/tests/build_tests/super_errors/fixtures/variant_pattern_type_spreads_not_variant.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/variant_pattern_type_spreads_not_variant.res rename to tests/build_tests/super_errors/fixtures/variant_pattern_type_spreads_not_variant.res diff --git a/jscomp/build_tests/super_errors/fixtures/variant_spread_abstract_type.res b/tests/build_tests/super_errors/fixtures/variant_spread_abstract_type.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/variant_spread_abstract_type.res rename to tests/build_tests/super_errors/fixtures/variant_spread_abstract_type.res diff --git a/jscomp/build_tests/super_errors/fixtures/variant_spread_duplicate_constructors.res b/tests/build_tests/super_errors/fixtures/variant_spread_duplicate_constructors.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/variant_spread_duplicate_constructors.res rename to tests/build_tests/super_errors/fixtures/variant_spread_duplicate_constructors.res diff --git a/jscomp/build_tests/super_errors/fixtures/variant_spread_extensible_variant.res b/tests/build_tests/super_errors/fixtures/variant_spread_extensible_variant.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/variant_spread_extensible_variant.res rename to tests/build_tests/super_errors/fixtures/variant_spread_extensible_variant.res diff --git a/jscomp/build_tests/super_errors/fixtures/variant_spread_inline_records.res b/tests/build_tests/super_errors/fixtures/variant_spread_inline_records.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/variant_spread_inline_records.res rename to tests/build_tests/super_errors/fixtures/variant_spread_inline_records.res diff --git a/jscomp/build_tests/super_errors/fixtures/variant_spread_recursive.res b/tests/build_tests/super_errors/fixtures/variant_spread_recursive.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/variant_spread_recursive.res rename to tests/build_tests/super_errors/fixtures/variant_spread_recursive.res diff --git a/jscomp/build_tests/super_errors/fixtures/variant_spread_tag_missing.res b/tests/build_tests/super_errors/fixtures/variant_spread_tag_missing.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/variant_spread_tag_missing.res rename to tests/build_tests/super_errors/fixtures/variant_spread_tag_missing.res diff --git a/jscomp/build_tests/super_errors/fixtures/variant_spread_tag_value_mismatch.res b/tests/build_tests/super_errors/fixtures/variant_spread_tag_value_mismatch.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/variant_spread_tag_value_mismatch.res rename to tests/build_tests/super_errors/fixtures/variant_spread_tag_value_mismatch.res diff --git a/jscomp/build_tests/super_errors/fixtures/variant_spread_type_parameters.res b/tests/build_tests/super_errors/fixtures/variant_spread_type_parameters.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/variant_spread_type_parameters.res rename to tests/build_tests/super_errors/fixtures/variant_spread_type_parameters.res diff --git a/jscomp/build_tests/super_errors/fixtures/variant_spread_unboxed_mismatch.res b/tests/build_tests/super_errors/fixtures/variant_spread_unboxed_mismatch.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/variant_spread_unboxed_mismatch.res rename to tests/build_tests/super_errors/fixtures/variant_spread_unboxed_mismatch.res diff --git a/jscomp/build_tests/super_errors/fixtures/variant_to_variant_coercion.res b/tests/build_tests/super_errors/fixtures/variant_to_variant_coercion.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/variant_to_variant_coercion.res rename to tests/build_tests/super_errors/fixtures/variant_to_variant_coercion.res diff --git a/jscomp/build_tests/super_errors/fixtures/variant_to_variant_coercion_as.res b/tests/build_tests/super_errors/fixtures/variant_to_variant_coercion_as.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/variant_to_variant_coercion_as.res rename to tests/build_tests/super_errors/fixtures/variant_to_variant_coercion_as.res diff --git a/jscomp/build_tests/super_errors/fixtures/variant_to_variant_coercion_tag.res b/tests/build_tests/super_errors/fixtures/variant_to_variant_coercion_tag.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/variant_to_variant_coercion_tag.res rename to tests/build_tests/super_errors/fixtures/variant_to_variant_coercion_tag.res diff --git a/jscomp/build_tests/super_errors/fixtures/variant_to_variant_coercion_unboxed.res b/tests/build_tests/super_errors/fixtures/variant_to_variant_coercion_unboxed.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/variant_to_variant_coercion_unboxed.res rename to tests/build_tests/super_errors/fixtures/variant_to_variant_coercion_unboxed.res diff --git a/jscomp/build_tests/super_errors/fixtures/warnings1.res b/tests/build_tests/super_errors/fixtures/warnings1.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/warnings1.res rename to tests/build_tests/super_errors/fixtures/warnings1.res diff --git a/jscomp/build_tests/super_errors/fixtures/warnings2.res b/tests/build_tests/super_errors/fixtures/warnings2.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/warnings2.res rename to tests/build_tests/super_errors/fixtures/warnings2.res diff --git a/jscomp/build_tests/super_errors/fixtures/warnings4.res b/tests/build_tests/super_errors/fixtures/warnings4.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/warnings4.res rename to tests/build_tests/super_errors/fixtures/warnings4.res diff --git a/jscomp/build_tests/super_errors/fixtures/warnings5.res b/tests/build_tests/super_errors/fixtures/warnings5.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/warnings5.res rename to tests/build_tests/super_errors/fixtures/warnings5.res diff --git a/jscomp/build_tests/super_errors/fixtures/wrong_name_component_prop.res b/tests/build_tests/super_errors/fixtures/wrong_name_component_prop.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/wrong_name_component_prop.res rename to tests/build_tests/super_errors/fixtures/wrong_name_component_prop.res diff --git a/jscomp/build_tests/super_errors/fixtures/wrong_name_record_field.res b/tests/build_tests/super_errors/fixtures/wrong_name_record_field.res similarity index 100% rename from jscomp/build_tests/super_errors/fixtures/wrong_name_record_field.res rename to tests/build_tests/super_errors/fixtures/wrong_name_record_field.res diff --git a/jscomp/build_tests/super_errors/input.js b/tests/build_tests/super_errors/input.js similarity index 97% rename from jscomp/build_tests/super_errors/input.js rename to tests/build_tests/super_errors/input.js index ad8daa095e..958a538c8c 100644 --- a/jscomp/build_tests/super_errors/input.js +++ b/tests/build_tests/super_errors/input.js @@ -18,7 +18,7 @@ const updateTests = process.argv[2] === "update"; function postProcessErrorOutput(output) { output = output.trimRight(); output = output.replace( - /\/[^ ]+?jscomp\/build_tests\/super_errors\//g, + /\/[^ ]+?tests\/build_tests\/super_errors\//g, "/.../", ); return output; diff --git a/tests/build_tests/transitive_pinned_dependency1/.gitignore b/tests/build_tests/transitive_pinned_dependency1/.gitignore new file mode 100644 index 0000000000..e9ecf2fb91 --- /dev/null +++ b/tests/build_tests/transitive_pinned_dependency1/.gitignore @@ -0,0 +1,2 @@ +lib +!node_modules \ No newline at end of file diff --git a/jscomp/build_tests/transitive_pinned_dependency1/a/package.json b/tests/build_tests/transitive_pinned_dependency1/a/package.json similarity index 100% rename from jscomp/build_tests/transitive_pinned_dependency1/a/package.json rename to tests/build_tests/transitive_pinned_dependency1/a/package.json diff --git a/jscomp/build_tests/transitive_pinned_dependency1/a/rescript.json b/tests/build_tests/transitive_pinned_dependency1/a/rescript.json similarity index 100% rename from jscomp/build_tests/transitive_pinned_dependency1/a/rescript.json rename to tests/build_tests/transitive_pinned_dependency1/a/rescript.json diff --git a/jscomp/build_tests/transitive_pinned_dependency1/a/src/src.res b/tests/build_tests/transitive_pinned_dependency1/a/src/src.res similarity index 100% rename from jscomp/build_tests/transitive_pinned_dependency1/a/src/src.res rename to tests/build_tests/transitive_pinned_dependency1/a/src/src.res diff --git a/jscomp/build_tests/transitive_pinned_dependency1/a/tests/test.res b/tests/build_tests/transitive_pinned_dependency1/a/tests/test.res similarity index 100% rename from jscomp/build_tests/transitive_pinned_dependency1/a/tests/test.res rename to tests/build_tests/transitive_pinned_dependency1/a/tests/test.res diff --git a/jscomp/build_tests/transitive_pinned_dependency1/input.js b/tests/build_tests/transitive_pinned_dependency1/input.js similarity index 100% rename from jscomp/build_tests/transitive_pinned_dependency1/input.js rename to tests/build_tests/transitive_pinned_dependency1/input.js diff --git a/jscomp/build_tests/transitive_pinned_dependency1/node_modules/b/bsconfig.json b/tests/build_tests/transitive_pinned_dependency1/node_modules/b/bsconfig.json similarity index 100% rename from jscomp/build_tests/transitive_pinned_dependency1/node_modules/b/bsconfig.json rename to tests/build_tests/transitive_pinned_dependency1/node_modules/b/bsconfig.json diff --git a/jscomp/build_tests/transitive_pinned_dependency1/node_modules/b/package.json b/tests/build_tests/transitive_pinned_dependency1/node_modules/b/package.json similarity index 100% rename from jscomp/build_tests/transitive_pinned_dependency1/node_modules/b/package.json rename to tests/build_tests/transitive_pinned_dependency1/node_modules/b/package.json diff --git a/jscomp/build_tests/transitive_pinned_dependency1/node_modules/b/src/src.res b/tests/build_tests/transitive_pinned_dependency1/node_modules/b/src/src.res similarity index 100% rename from jscomp/build_tests/transitive_pinned_dependency1/node_modules/b/src/src.res rename to tests/build_tests/transitive_pinned_dependency1/node_modules/b/src/src.res diff --git a/jscomp/build_tests/transitive_pinned_dependency1/node_modules/b/tests/test.res b/tests/build_tests/transitive_pinned_dependency1/node_modules/b/tests/test.res similarity index 100% rename from jscomp/build_tests/transitive_pinned_dependency1/node_modules/b/tests/test.res rename to tests/build_tests/transitive_pinned_dependency1/node_modules/b/tests/test.res diff --git a/jscomp/build_tests/transitive_pinned_dependency1/node_modules/c/bsconfig.json b/tests/build_tests/transitive_pinned_dependency1/node_modules/c/bsconfig.json similarity index 100% rename from jscomp/build_tests/transitive_pinned_dependency1/node_modules/c/bsconfig.json rename to tests/build_tests/transitive_pinned_dependency1/node_modules/c/bsconfig.json diff --git a/jscomp/build_tests/transitive_pinned_dependency1/node_modules/c/package.json b/tests/build_tests/transitive_pinned_dependency1/node_modules/c/package.json similarity index 100% rename from jscomp/build_tests/transitive_pinned_dependency1/node_modules/c/package.json rename to tests/build_tests/transitive_pinned_dependency1/node_modules/c/package.json diff --git a/jscomp/build_tests/transitive_pinned_dependency1/node_modules/c/src/src.res b/tests/build_tests/transitive_pinned_dependency1/node_modules/c/src/src.res similarity index 100% rename from jscomp/build_tests/transitive_pinned_dependency1/node_modules/c/src/src.res rename to tests/build_tests/transitive_pinned_dependency1/node_modules/c/src/src.res diff --git a/jscomp/build_tests/transitive_pinned_dependency1/node_modules/c/tests/test.res b/tests/build_tests/transitive_pinned_dependency1/node_modules/c/tests/test.res similarity index 100% rename from jscomp/build_tests/transitive_pinned_dependency1/node_modules/c/tests/test.res rename to tests/build_tests/transitive_pinned_dependency1/node_modules/c/tests/test.res diff --git a/tests/build_tests/transitive_pinned_dependency2/.gitignore b/tests/build_tests/transitive_pinned_dependency2/.gitignore new file mode 100644 index 0000000000..e9ecf2fb91 --- /dev/null +++ b/tests/build_tests/transitive_pinned_dependency2/.gitignore @@ -0,0 +1,2 @@ +lib +!node_modules \ No newline at end of file diff --git a/jscomp/build_tests/transitive_pinned_dependency2/a/package.json b/tests/build_tests/transitive_pinned_dependency2/a/package.json similarity index 100% rename from jscomp/build_tests/transitive_pinned_dependency2/a/package.json rename to tests/build_tests/transitive_pinned_dependency2/a/package.json diff --git a/jscomp/build_tests/transitive_pinned_dependency2/a/rescript.json b/tests/build_tests/transitive_pinned_dependency2/a/rescript.json similarity index 100% rename from jscomp/build_tests/transitive_pinned_dependency2/a/rescript.json rename to tests/build_tests/transitive_pinned_dependency2/a/rescript.json diff --git a/jscomp/build_tests/transitive_pinned_dependency2/a/src/src.res b/tests/build_tests/transitive_pinned_dependency2/a/src/src.res similarity index 100% rename from jscomp/build_tests/transitive_pinned_dependency2/a/src/src.res rename to tests/build_tests/transitive_pinned_dependency2/a/src/src.res diff --git a/jscomp/build_tests/transitive_pinned_dependency2/a/tests/test.res b/tests/build_tests/transitive_pinned_dependency2/a/tests/test.res similarity index 100% rename from jscomp/build_tests/transitive_pinned_dependency2/a/tests/test.res rename to tests/build_tests/transitive_pinned_dependency2/a/tests/test.res diff --git a/jscomp/build_tests/transitive_pinned_dependency2/input.js b/tests/build_tests/transitive_pinned_dependency2/input.js similarity index 100% rename from jscomp/build_tests/transitive_pinned_dependency2/input.js rename to tests/build_tests/transitive_pinned_dependency2/input.js diff --git a/jscomp/build_tests/transitive_pinned_dependency2/node_modules/b/bsconfig.json b/tests/build_tests/transitive_pinned_dependency2/node_modules/b/bsconfig.json similarity index 100% rename from jscomp/build_tests/transitive_pinned_dependency2/node_modules/b/bsconfig.json rename to tests/build_tests/transitive_pinned_dependency2/node_modules/b/bsconfig.json diff --git a/jscomp/build_tests/transitive_pinned_dependency2/node_modules/b/package.json b/tests/build_tests/transitive_pinned_dependency2/node_modules/b/package.json similarity index 100% rename from jscomp/build_tests/transitive_pinned_dependency2/node_modules/b/package.json rename to tests/build_tests/transitive_pinned_dependency2/node_modules/b/package.json diff --git a/jscomp/build_tests/transitive_pinned_dependency2/node_modules/b/src/src.res b/tests/build_tests/transitive_pinned_dependency2/node_modules/b/src/src.res similarity index 100% rename from jscomp/build_tests/transitive_pinned_dependency2/node_modules/b/src/src.res rename to tests/build_tests/transitive_pinned_dependency2/node_modules/b/src/src.res diff --git a/jscomp/build_tests/transitive_pinned_dependency2/node_modules/b/tests/test.res b/tests/build_tests/transitive_pinned_dependency2/node_modules/b/tests/test.res similarity index 100% rename from jscomp/build_tests/transitive_pinned_dependency2/node_modules/b/tests/test.res rename to tests/build_tests/transitive_pinned_dependency2/node_modules/b/tests/test.res diff --git a/jscomp/build_tests/transitive_pinned_dependency2/node_modules/c/bsconfig.json b/tests/build_tests/transitive_pinned_dependency2/node_modules/c/bsconfig.json similarity index 100% rename from jscomp/build_tests/transitive_pinned_dependency2/node_modules/c/bsconfig.json rename to tests/build_tests/transitive_pinned_dependency2/node_modules/c/bsconfig.json diff --git a/jscomp/build_tests/transitive_pinned_dependency2/node_modules/c/package.json b/tests/build_tests/transitive_pinned_dependency2/node_modules/c/package.json similarity index 100% rename from jscomp/build_tests/transitive_pinned_dependency2/node_modules/c/package.json rename to tests/build_tests/transitive_pinned_dependency2/node_modules/c/package.json diff --git a/jscomp/build_tests/transitive_pinned_dependency2/node_modules/c/src/src.res b/tests/build_tests/transitive_pinned_dependency2/node_modules/c/src/src.res similarity index 100% rename from jscomp/build_tests/transitive_pinned_dependency2/node_modules/c/src/src.res rename to tests/build_tests/transitive_pinned_dependency2/node_modules/c/src/src.res diff --git a/jscomp/build_tests/transitive_pinned_dependency2/node_modules/c/tests/test.res b/tests/build_tests/transitive_pinned_dependency2/node_modules/c/tests/test.res similarity index 100% rename from jscomp/build_tests/transitive_pinned_dependency2/node_modules/c/tests/test.res rename to tests/build_tests/transitive_pinned_dependency2/node_modules/c/tests/test.res diff --git a/jscomp/build_tests/unboxed_bool_with_const/bsconfig.json b/tests/build_tests/unboxed_bool_with_const/bsconfig.json similarity index 100% rename from jscomp/build_tests/unboxed_bool_with_const/bsconfig.json rename to tests/build_tests/unboxed_bool_with_const/bsconfig.json diff --git a/jscomp/build_tests/unboxed_bool_with_const/input.js b/tests/build_tests/unboxed_bool_with_const/input.js similarity index 100% rename from jscomp/build_tests/unboxed_bool_with_const/input.js rename to tests/build_tests/unboxed_bool_with_const/input.js diff --git a/jscomp/build_tests/unboxed_bool_with_const/src/Main.res b/tests/build_tests/unboxed_bool_with_const/src/Main.res similarity index 100% rename from jscomp/build_tests/unboxed_bool_with_const/src/Main.res rename to tests/build_tests/unboxed_bool_with_const/src/Main.res diff --git a/jscomp/build_tests/uncurried-always/input.js b/tests/build_tests/uncurried-always/input.js similarity index 100% rename from jscomp/build_tests/uncurried-always/input.js rename to tests/build_tests/uncurried-always/input.js diff --git a/jscomp/build_tests/uncurried-always/rescript.json b/tests/build_tests/uncurried-always/rescript.json similarity index 100% rename from jscomp/build_tests/uncurried-always/rescript.json rename to tests/build_tests/uncurried-always/rescript.json diff --git a/jscomp/build_tests/uncurried-always/src/UncurriedAlways.res b/tests/build_tests/uncurried-always/src/UncurriedAlways.res similarity index 100% rename from jscomp/build_tests/uncurried-always/src/UncurriedAlways.res rename to tests/build_tests/uncurried-always/src/UncurriedAlways.res diff --git a/jscomp/build_tests/unicode/input.js b/tests/build_tests/unicode/input.js similarity index 100% rename from jscomp/build_tests/unicode/input.js rename to tests/build_tests/unicode/input.js diff --git a/jscomp/build_tests/unicode/rescript.json b/tests/build_tests/unicode/rescript.json similarity index 100% rename from jscomp/build_tests/unicode/rescript.json rename to tests/build_tests/unicode/rescript.json diff --git "a/jscomp/build_tests/unicode/\360\237\223\225annotation/a.res" "b/tests/build_tests/unicode/\360\237\223\225annotation/a.res" similarity index 100% rename from "jscomp/build_tests/unicode/\360\237\223\225annotation/a.res" rename to "tests/build_tests/unicode/\360\237\223\225annotation/a.res" diff --git "a/jscomp/build_tests/unicode/\360\237\223\227block/b.res" "b/tests/build_tests/unicode/\360\237\223\227block/b.res" similarity index 100% rename from "jscomp/build_tests/unicode/\360\237\223\227block/b.res" rename to "tests/build_tests/unicode/\360\237\223\227block/b.res" diff --git "a/jscomp/build_tests/unicode/\360\237\223\231inline/c.res" "b/tests/build_tests/unicode/\360\237\223\231inline/c.res" similarity index 100% rename from "jscomp/build_tests/unicode/\360\237\223\231inline/c.res" rename to "tests/build_tests/unicode/\360\237\223\231inline/c.res" diff --git a/jscomp/build_tests/utils.js b/tests/build_tests/utils.js similarity index 100% rename from jscomp/build_tests/utils.js rename to tests/build_tests/utils.js diff --git a/jscomp/build_tests/warn_legacy_config/bsconfig.json b/tests/build_tests/warn_legacy_config/bsconfig.json similarity index 100% rename from jscomp/build_tests/warn_legacy_config/bsconfig.json rename to tests/build_tests/warn_legacy_config/bsconfig.json diff --git a/jscomp/build_tests/warn_legacy_config/input.js b/tests/build_tests/warn_legacy_config/input.js similarity index 100% rename from jscomp/build_tests/warn_legacy_config/input.js rename to tests/build_tests/warn_legacy_config/input.js diff --git a/jscomp/build_tests/warn_legacy_config/src/demo.res b/tests/build_tests/warn_legacy_config/src/demo.res similarity index 100% rename from jscomp/build_tests/warn_legacy_config/src/demo.res rename to tests/build_tests/warn_legacy_config/src/demo.res diff --git a/jscomp/build_tests/weird_deps/input.js b/tests/build_tests/weird_deps/input.js similarity index 100% rename from jscomp/build_tests/weird_deps/input.js rename to tests/build_tests/weird_deps/input.js diff --git a/jscomp/build_tests/weird_deps/rescript.json b/tests/build_tests/weird_deps/rescript.json similarity index 100% rename from jscomp/build_tests/weird_deps/rescript.json rename to tests/build_tests/weird_deps/rescript.json diff --git a/jscomp/build_tests/weird_deps/src/demo.res b/tests/build_tests/weird_deps/src/demo.res similarity index 100% rename from jscomp/build_tests/weird_deps/src/demo.res rename to tests/build_tests/weird_deps/src/demo.res diff --git a/jscomp/build_tests/weird_deps/test/test.res b/tests/build_tests/weird_deps/test/test.res similarity index 100% rename from jscomp/build_tests/weird_deps/test/test.res rename to tests/build_tests/weird_deps/test/test.res diff --git a/jscomp/build_tests/weird_devdeps/input.js b/tests/build_tests/weird_devdeps/input.js similarity index 100% rename from jscomp/build_tests/weird_devdeps/input.js rename to tests/build_tests/weird_devdeps/input.js diff --git a/jscomp/build_tests/weird_devdeps/rescript.json b/tests/build_tests/weird_devdeps/rescript.json similarity index 100% rename from jscomp/build_tests/weird_devdeps/rescript.json rename to tests/build_tests/weird_devdeps/rescript.json diff --git a/jscomp/build_tests/weird_devdeps/src/demo.res b/tests/build_tests/weird_devdeps/src/demo.res similarity index 100% rename from jscomp/build_tests/weird_devdeps/src/demo.res rename to tests/build_tests/weird_devdeps/src/demo.res diff --git a/jscomp/build_tests/weird_devdeps/test/test.res b/tests/build_tests/weird_devdeps/test/test.res similarity index 100% rename from jscomp/build_tests/weird_devdeps/test/test.res rename to tests/build_tests/weird_devdeps/test/test.res diff --git a/jscomp/build_tests/weird_names/input.js b/tests/build_tests/weird_names/input.js similarity index 100% rename from jscomp/build_tests/weird_names/input.js rename to tests/build_tests/weird_names/input.js diff --git a/jscomp/build_tests/weird_names/rescript.json b/tests/build_tests/weird_names/rescript.json similarity index 100% rename from jscomp/build_tests/weird_names/rescript.json rename to tests/build_tests/weird_names/rescript.json diff --git a/jscomp/build_tests/weird_names/src/404.res b/tests/build_tests/weird_names/src/404.res similarity index 100% rename from jscomp/build_tests/weird_names/src/404.res rename to tests/build_tests/weird_names/src/404.res diff --git a/jscomp/build_tests/weird_names/src/[...params].res b/tests/build_tests/weird_names/src/[...params].res similarity index 100% rename from jscomp/build_tests/weird_names/src/[...params].res rename to tests/build_tests/weird_names/src/[...params].res diff --git a/jscomp/build_tests/weird_names/src/[...params_max_3].res b/tests/build_tests/weird_names/src/[...params_max_3].res similarity index 100% rename from jscomp/build_tests/weird_names/src/[...params_max_3].res rename to tests/build_tests/weird_names/src/[...params_max_3].res diff --git a/jscomp/build_tests/weird_names/src/[[...params]].res b/tests/build_tests/weird_names/src/[[...params]].res similarity index 100% rename from jscomp/build_tests/weird_names/src/[[...params]].res rename to tests/build_tests/weird_names/src/[[...params]].res diff --git a/jscomp/build_tests/weird_names/src/[slug_or_ID].res b/tests/build_tests/weird_names/src/[slug_or_ID].res similarity index 100% rename from jscomp/build_tests/weird_names/src/[slug_or_ID].res rename to tests/build_tests/weird_names/src/[slug_or_ID].res diff --git a/jscomp/build_tests/weird_names/src/_app.res b/tests/build_tests/weird_names/src/_app.res similarity index 100% rename from jscomp/build_tests/weird_names/src/_app.res rename to tests/build_tests/weird_names/src/_app.res diff --git a/jscomp/build_tests/weird_names/src/demo.res b/tests/build_tests/weird_names/src/demo.res similarity index 100% rename from jscomp/build_tests/weird_names/src/demo.res rename to tests/build_tests/weird_names/src/demo.res diff --git a/jscomp/build_tests/weird_names/src/utils.test.res b/tests/build_tests/weird_names/src/utils.test.res similarity index 100% rename from jscomp/build_tests/weird_names/src/utils.test.res rename to tests/build_tests/weird_names/src/utils.test.res diff --git a/jscomp/build_tests/weird_names_not_found_bug/input.js b/tests/build_tests/weird_names_not_found_bug/input.js similarity index 100% rename from jscomp/build_tests/weird_names_not_found_bug/input.js rename to tests/build_tests/weird_names_not_found_bug/input.js diff --git a/jscomp/build_tests/weird_names_not_found_bug/rescript.json b/tests/build_tests/weird_names_not_found_bug/rescript.json similarity index 100% rename from jscomp/build_tests/weird_names_not_found_bug/rescript.json rename to tests/build_tests/weird_names_not_found_bug/rescript.json diff --git a/jscomp/build_tests/weird_names_not_found_bug/src/demo.res b/tests/build_tests/weird_names_not_found_bug/src/demo.res similarity index 100% rename from jscomp/build_tests/weird_names_not_found_bug/src/demo.res rename to tests/build_tests/weird_names_not_found_bug/src/demo.res diff --git a/jscomp/build_tests/weird_names_not_found_bug/src/demo.test.res b/tests/build_tests/weird_names_not_found_bug/src/demo.test.res similarity index 100% rename from jscomp/build_tests/weird_names_not_found_bug/src/demo.test.res rename to tests/build_tests/weird_names_not_found_bug/src/demo.test.res diff --git a/jscomp/build_tests/x-y/input.js b/tests/build_tests/x-y/input.js similarity index 100% rename from jscomp/build_tests/x-y/input.js rename to tests/build_tests/x-y/input.js diff --git a/jscomp/build_tests/x-y/rescript.json b/tests/build_tests/x-y/rescript.json similarity index 100% rename from jscomp/build_tests/x-y/rescript.json rename to tests/build_tests/x-y/rescript.json diff --git a/jscomp/build_tests/x-y/x-src/demo.res b/tests/build_tests/x-y/x-src/demo.res similarity index 100% rename from jscomp/build_tests/x-y/x-src/demo.res rename to tests/build_tests/x-y/x-src/demo.res diff --git a/jscomp/build_tests/xpkg/input.js b/tests/build_tests/xpkg/input.js similarity index 100% rename from jscomp/build_tests/xpkg/input.js rename to tests/build_tests/xpkg/input.js diff --git a/jscomp/build_tests/xpkg/rescript.json b/tests/build_tests/xpkg/rescript.json similarity index 100% rename from jscomp/build_tests/xpkg/rescript.json rename to tests/build_tests/xpkg/rescript.json diff --git a/jscomp/build_tests/zerocycle/.gitignore b/tests/build_tests/zerocycle/.gitignore similarity index 100% rename from jscomp/build_tests/zerocycle/.gitignore rename to tests/build_tests/zerocycle/.gitignore diff --git a/jscomp/build_tests/zerocycle/input.js b/tests/build_tests/zerocycle/input.js similarity index 100% rename from jscomp/build_tests/zerocycle/input.js rename to tests/build_tests/zerocycle/input.js diff --git a/jscomp/build_tests/zerocycle/rescript.json b/tests/build_tests/zerocycle/rescript.json similarity index 100% rename from jscomp/build_tests/zerocycle/rescript.json rename to tests/build_tests/zerocycle/rescript.json diff --git a/jscomp/build_tests/zerocycle/src/bar.res b/tests/build_tests/zerocycle/src/bar.res similarity index 100% rename from jscomp/build_tests/zerocycle/src/bar.res rename to tests/build_tests/zerocycle/src/bar.res diff --git a/jscomp/build_tests/zerocycle/src/demo.res b/tests/build_tests/zerocycle/src/demo.res similarity index 100% rename from jscomp/build_tests/zerocycle/src/demo.res rename to tests/build_tests/zerocycle/src/demo.res diff --git a/jscomp/build_tests/zerocycle/src/demo2.res b/tests/build_tests/zerocycle/src/demo2.res similarity index 100% rename from jscomp/build_tests/zerocycle/src/demo2.res rename to tests/build_tests/zerocycle/src/demo2.res diff --git a/jscomp/build_tests/zerocycle/src/foo.res b/tests/build_tests/zerocycle/src/foo.res similarity index 100% rename from jscomp/build_tests/zerocycle/src/foo.res rename to tests/build_tests/zerocycle/src/foo.res diff --git a/jscomp/build_tests/zerocycle/src/foo2.res b/tests/build_tests/zerocycle/src/foo2.res similarity index 100% rename from jscomp/build_tests/zerocycle/src/foo2.res rename to tests/build_tests/zerocycle/src/foo2.res diff --git a/jscomp/gentype_tests/typescript-react-example/.gitignore b/tests/gentype_tests/typescript-react-example/.gitignore similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/.gitignore rename to tests/gentype_tests/typescript-react-example/.gitignore diff --git a/jscomp/gentype_tests/typescript-react-example/Makefile b/tests/gentype_tests/typescript-react-example/Makefile similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/Makefile rename to tests/gentype_tests/typescript-react-example/Makefile diff --git a/jscomp/gentype_tests/typescript-react-example/README.md b/tests/gentype_tests/typescript-react-example/README.md similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/README.md rename to tests/gentype_tests/typescript-react-example/README.md diff --git a/jscomp/gentype_tests/typescript-react-example/biome.json b/tests/gentype_tests/typescript-react-example/biome.json similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/biome.json rename to tests/gentype_tests/typescript-react-example/biome.json diff --git a/jscomp/gentype_tests/typescript-react-example/package-lock.json b/tests/gentype_tests/typescript-react-example/package-lock.json similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/package-lock.json rename to tests/gentype_tests/typescript-react-example/package-lock.json diff --git a/jscomp/gentype_tests/typescript-react-example/package.json b/tests/gentype_tests/typescript-react-example/package.json similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/package.json rename to tests/gentype_tests/typescript-react-example/package.json diff --git a/jscomp/gentype_tests/typescript-react-example/public/favicon.ico b/tests/gentype_tests/typescript-react-example/public/favicon.ico similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/public/favicon.ico rename to tests/gentype_tests/typescript-react-example/public/favicon.ico diff --git a/jscomp/gentype_tests/typescript-react-example/public/index.html b/tests/gentype_tests/typescript-react-example/public/index.html similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/public/index.html rename to tests/gentype_tests/typescript-react-example/public/index.html diff --git a/jscomp/gentype_tests/typescript-react-example/public/manifest.json b/tests/gentype_tests/typescript-react-example/public/manifest.json similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/public/manifest.json rename to tests/gentype_tests/typescript-react-example/public/manifest.json diff --git a/jscomp/gentype_tests/typescript-react-example/rescript.json b/tests/gentype_tests/typescript-react-example/rescript.json similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/rescript.json rename to tests/gentype_tests/typescript-react-example/rescript.json diff --git a/jscomp/gentype_tests/typescript-react-example/src/App.css b/tests/gentype_tests/typescript-react-example/src/App.css similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/App.css rename to tests/gentype_tests/typescript-react-example/src/App.css diff --git a/jscomp/gentype_tests/typescript-react-example/src/App.tsx b/tests/gentype_tests/typescript-react-example/src/App.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/App.tsx rename to tests/gentype_tests/typescript-react-example/src/App.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/AutoAnnotate.gen.tsx b/tests/gentype_tests/typescript-react-example/src/AutoAnnotate.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/AutoAnnotate.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/AutoAnnotate.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/AutoAnnotate.res b/tests/gentype_tests/typescript-react-example/src/AutoAnnotate.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/AutoAnnotate.res rename to tests/gentype_tests/typescript-react-example/src/AutoAnnotate.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/AutoAnnotate.res.js b/tests/gentype_tests/typescript-react-example/src/AutoAnnotate.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/AutoAnnotate.res.js rename to tests/gentype_tests/typescript-react-example/src/AutoAnnotate.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/BootloaderResource.res b/tests/gentype_tests/typescript-react-example/src/BootloaderResource.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/BootloaderResource.res rename to tests/gentype_tests/typescript-react-example/src/BootloaderResource.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/BootloaderResource.res.js b/tests/gentype_tests/typescript-react-example/src/BootloaderResource.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/BootloaderResource.res.js rename to tests/gentype_tests/typescript-react-example/src/BootloaderResource.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/BucklescriptAnnotations.gen.tsx b/tests/gentype_tests/typescript-react-example/src/BucklescriptAnnotations.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/BucklescriptAnnotations.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/BucklescriptAnnotations.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/BucklescriptAnnotations.res b/tests/gentype_tests/typescript-react-example/src/BucklescriptAnnotations.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/BucklescriptAnnotations.res rename to tests/gentype_tests/typescript-react-example/src/BucklescriptAnnotations.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/BucklescriptAnnotations.res.js b/tests/gentype_tests/typescript-react-example/src/BucklescriptAnnotations.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/BucklescriptAnnotations.res.js rename to tests/gentype_tests/typescript-react-example/src/BucklescriptAnnotations.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/Comments.gen.tsx b/tests/gentype_tests/typescript-react-example/src/Comments.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Comments.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/Comments.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/Comments.res b/tests/gentype_tests/typescript-react-example/src/Comments.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Comments.res rename to tests/gentype_tests/typescript-react-example/src/Comments.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/Comments.res.js b/tests/gentype_tests/typescript-react-example/src/Comments.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Comments.res.js rename to tests/gentype_tests/typescript-react-example/src/Comments.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/Core.gen.tsx b/tests/gentype_tests/typescript-react-example/src/Core.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Core.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/Core.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/Core.res b/tests/gentype_tests/typescript-react-example/src/Core.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Core.res rename to tests/gentype_tests/typescript-react-example/src/Core.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/Core.res.js b/tests/gentype_tests/typescript-react-example/src/Core.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Core.res.js rename to tests/gentype_tests/typescript-react-example/src/Core.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/CoreTS.ts b/tests/gentype_tests/typescript-react-example/src/CoreTS.ts similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/CoreTS.ts rename to tests/gentype_tests/typescript-react-example/src/CoreTS.ts diff --git a/jscomp/gentype_tests/typescript-react-example/src/CreateErrorHandler1.res b/tests/gentype_tests/typescript-react-example/src/CreateErrorHandler1.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/CreateErrorHandler1.res rename to tests/gentype_tests/typescript-react-example/src/CreateErrorHandler1.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/CreateErrorHandler1.res.js b/tests/gentype_tests/typescript-react-example/src/CreateErrorHandler1.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/CreateErrorHandler1.res.js rename to tests/gentype_tests/typescript-react-example/src/CreateErrorHandler1.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/CreateErrorHandler2.res b/tests/gentype_tests/typescript-react-example/src/CreateErrorHandler2.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/CreateErrorHandler2.res rename to tests/gentype_tests/typescript-react-example/src/CreateErrorHandler2.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/CreateErrorHandler2.res.js b/tests/gentype_tests/typescript-react-example/src/CreateErrorHandler2.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/CreateErrorHandler2.res.js rename to tests/gentype_tests/typescript-react-example/src/CreateErrorHandler2.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/Date.res b/tests/gentype_tests/typescript-react-example/src/Date.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Date.res rename to tests/gentype_tests/typescript-react-example/src/Date.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/Date.res.js b/tests/gentype_tests/typescript-react-example/src/Date.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Date.res.js rename to tests/gentype_tests/typescript-react-example/src/Date.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/Derivings.gen.tsx b/tests/gentype_tests/typescript-react-example/src/Derivings.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Derivings.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/Derivings.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/Derivings.res b/tests/gentype_tests/typescript-react-example/src/Derivings.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Derivings.res rename to tests/gentype_tests/typescript-react-example/src/Derivings.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/Derivings.res.js b/tests/gentype_tests/typescript-react-example/src/Derivings.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Derivings.res.js rename to tests/gentype_tests/typescript-react-example/src/Derivings.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/Dict.res b/tests/gentype_tests/typescript-react-example/src/Dict.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Dict.res rename to tests/gentype_tests/typescript-react-example/src/Dict.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/Dict.res.js b/tests/gentype_tests/typescript-react-example/src/Dict.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Dict.res.js rename to tests/gentype_tests/typescript-react-example/src/Dict.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/Docstrings.gen.tsx b/tests/gentype_tests/typescript-react-example/src/Docstrings.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Docstrings.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/Docstrings.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/Docstrings.res b/tests/gentype_tests/typescript-react-example/src/Docstrings.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Docstrings.res rename to tests/gentype_tests/typescript-react-example/src/Docstrings.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/Docstrings.res.js b/tests/gentype_tests/typescript-react-example/src/Docstrings.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Docstrings.res.js rename to tests/gentype_tests/typescript-react-example/src/Docstrings.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/DynamicallyLoadedComponent.res b/tests/gentype_tests/typescript-react-example/src/DynamicallyLoadedComponent.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/DynamicallyLoadedComponent.res rename to tests/gentype_tests/typescript-react-example/src/DynamicallyLoadedComponent.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/DynamicallyLoadedComponent.res.js b/tests/gentype_tests/typescript-react-example/src/DynamicallyLoadedComponent.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/DynamicallyLoadedComponent.res.js rename to tests/gentype_tests/typescript-react-example/src/DynamicallyLoadedComponent.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/EmitModuleIfNoConversion.gen.tsx b/tests/gentype_tests/typescript-react-example/src/EmitModuleIfNoConversion.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/EmitModuleIfNoConversion.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/EmitModuleIfNoConversion.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/EmitModuleIfNoConversion.res b/tests/gentype_tests/typescript-react-example/src/EmitModuleIfNoConversion.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/EmitModuleIfNoConversion.res rename to tests/gentype_tests/typescript-react-example/src/EmitModuleIfNoConversion.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/EmitModuleIfNoConversion.res.js b/tests/gentype_tests/typescript-react-example/src/EmitModuleIfNoConversion.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/EmitModuleIfNoConversion.res.js rename to tests/gentype_tests/typescript-react-example/src/EmitModuleIfNoConversion.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/ErrorHandler.res b/tests/gentype_tests/typescript-react-example/src/ErrorHandler.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/ErrorHandler.res rename to tests/gentype_tests/typescript-react-example/src/ErrorHandler.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/ErrorHandler.res.js b/tests/gentype_tests/typescript-react-example/src/ErrorHandler.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/ErrorHandler.res.js rename to tests/gentype_tests/typescript-react-example/src/ErrorHandler.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/ErrorHandler.resi b/tests/gentype_tests/typescript-react-example/src/ErrorHandler.resi similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/ErrorHandler.resi rename to tests/gentype_tests/typescript-react-example/src/ErrorHandler.resi diff --git a/jscomp/gentype_tests/typescript-react-example/src/ExportWithRename.gen.tsx b/tests/gentype_tests/typescript-react-example/src/ExportWithRename.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/ExportWithRename.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/ExportWithRename.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/ExportWithRename.res b/tests/gentype_tests/typescript-react-example/src/ExportWithRename.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/ExportWithRename.res rename to tests/gentype_tests/typescript-react-example/src/ExportWithRename.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/ExportWithRename.res.js b/tests/gentype_tests/typescript-react-example/src/ExportWithRename.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/ExportWithRename.res.js rename to tests/gentype_tests/typescript-react-example/src/ExportWithRename.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/FirstClassModules.gen.tsx b/tests/gentype_tests/typescript-react-example/src/FirstClassModules.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/FirstClassModules.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/FirstClassModules.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/FirstClassModules.res b/tests/gentype_tests/typescript-react-example/src/FirstClassModules.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/FirstClassModules.res rename to tests/gentype_tests/typescript-react-example/src/FirstClassModules.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/FirstClassModules.res.js b/tests/gentype_tests/typescript-react-example/src/FirstClassModules.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/FirstClassModules.res.js rename to tests/gentype_tests/typescript-react-example/src/FirstClassModules.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/FirstClassModulesInterface.gen.tsx b/tests/gentype_tests/typescript-react-example/src/FirstClassModulesInterface.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/FirstClassModulesInterface.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/FirstClassModulesInterface.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/FirstClassModulesInterface.res b/tests/gentype_tests/typescript-react-example/src/FirstClassModulesInterface.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/FirstClassModulesInterface.res rename to tests/gentype_tests/typescript-react-example/src/FirstClassModulesInterface.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/FirstClassModulesInterface.res.js b/tests/gentype_tests/typescript-react-example/src/FirstClassModulesInterface.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/FirstClassModulesInterface.res.js rename to tests/gentype_tests/typescript-react-example/src/FirstClassModulesInterface.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/FirstClassModulesInterface.resi b/tests/gentype_tests/typescript-react-example/src/FirstClassModulesInterface.resi similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/FirstClassModulesInterface.resi rename to tests/gentype_tests/typescript-react-example/src/FirstClassModulesInterface.resi diff --git a/jscomp/gentype_tests/typescript-react-example/src/GADT.gen.tsx b/tests/gentype_tests/typescript-react-example/src/GADT.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/GADT.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/GADT.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/GADT.res b/tests/gentype_tests/typescript-react-example/src/GADT.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/GADT.res rename to tests/gentype_tests/typescript-react-example/src/GADT.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/GADT.res.js b/tests/gentype_tests/typescript-react-example/src/GADT.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/GADT.res.js rename to tests/gentype_tests/typescript-react-example/src/GADT.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/Hooks.gen.tsx b/tests/gentype_tests/typescript-react-example/src/Hooks.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Hooks.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/Hooks.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/Hooks.res b/tests/gentype_tests/typescript-react-example/src/Hooks.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Hooks.res rename to tests/gentype_tests/typescript-react-example/src/Hooks.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/Hooks.res.js b/tests/gentype_tests/typescript-react-example/src/Hooks.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Hooks.res.js rename to tests/gentype_tests/typescript-react-example/src/Hooks.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/IgnoreInterface.gen.tsx b/tests/gentype_tests/typescript-react-example/src/IgnoreInterface.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/IgnoreInterface.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/IgnoreInterface.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/IgnoreInterface.res b/tests/gentype_tests/typescript-react-example/src/IgnoreInterface.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/IgnoreInterface.res rename to tests/gentype_tests/typescript-react-example/src/IgnoreInterface.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/IgnoreInterface.res.js b/tests/gentype_tests/typescript-react-example/src/IgnoreInterface.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/IgnoreInterface.res.js rename to tests/gentype_tests/typescript-react-example/src/IgnoreInterface.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/IgnoreInterface.resi b/tests/gentype_tests/typescript-react-example/src/IgnoreInterface.resi similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/IgnoreInterface.resi rename to tests/gentype_tests/typescript-react-example/src/IgnoreInterface.resi diff --git a/jscomp/gentype_tests/typescript-react-example/src/ImmutableArray.res b/tests/gentype_tests/typescript-react-example/src/ImmutableArray.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/ImmutableArray.res rename to tests/gentype_tests/typescript-react-example/src/ImmutableArray.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/ImmutableArray.res.js b/tests/gentype_tests/typescript-react-example/src/ImmutableArray.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/ImmutableArray.res.js rename to tests/gentype_tests/typescript-react-example/src/ImmutableArray.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/ImmutableArray.resi b/tests/gentype_tests/typescript-react-example/src/ImmutableArray.resi similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/ImmutableArray.resi rename to tests/gentype_tests/typescript-react-example/src/ImmutableArray.resi diff --git a/jscomp/gentype_tests/typescript-react-example/src/ImportHookDefault.gen.tsx b/tests/gentype_tests/typescript-react-example/src/ImportHookDefault.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/ImportHookDefault.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/ImportHookDefault.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/ImportHookDefault.res b/tests/gentype_tests/typescript-react-example/src/ImportHookDefault.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/ImportHookDefault.res rename to tests/gentype_tests/typescript-react-example/src/ImportHookDefault.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/ImportHookDefault.res.js b/tests/gentype_tests/typescript-react-example/src/ImportHookDefault.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/ImportHookDefault.res.js rename to tests/gentype_tests/typescript-react-example/src/ImportHookDefault.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/ImportHooks.gen.tsx b/tests/gentype_tests/typescript-react-example/src/ImportHooks.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/ImportHooks.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/ImportHooks.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/ImportHooks.res b/tests/gentype_tests/typescript-react-example/src/ImportHooks.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/ImportHooks.res rename to tests/gentype_tests/typescript-react-example/src/ImportHooks.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/ImportHooks.res.js b/tests/gentype_tests/typescript-react-example/src/ImportHooks.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/ImportHooks.res.js rename to tests/gentype_tests/typescript-react-example/src/ImportHooks.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/ImportIndex.gen.tsx b/tests/gentype_tests/typescript-react-example/src/ImportIndex.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/ImportIndex.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/ImportIndex.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/ImportIndex.res b/tests/gentype_tests/typescript-react-example/src/ImportIndex.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/ImportIndex.res rename to tests/gentype_tests/typescript-react-example/src/ImportIndex.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/ImportIndex.res.js b/tests/gentype_tests/typescript-react-example/src/ImportIndex.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/ImportIndex.res.js rename to tests/gentype_tests/typescript-react-example/src/ImportIndex.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/ImportJsValue.gen.tsx b/tests/gentype_tests/typescript-react-example/src/ImportJsValue.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/ImportJsValue.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/ImportJsValue.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/ImportJsValue.res b/tests/gentype_tests/typescript-react-example/src/ImportJsValue.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/ImportJsValue.res rename to tests/gentype_tests/typescript-react-example/src/ImportJsValue.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/ImportJsValue.res.js b/tests/gentype_tests/typescript-react-example/src/ImportJsValue.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/ImportJsValue.res.js rename to tests/gentype_tests/typescript-react-example/src/ImportJsValue.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/Inherits.gen.tsx b/tests/gentype_tests/typescript-react-example/src/Inherits.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Inherits.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/Inherits.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/Inherits.res b/tests/gentype_tests/typescript-react-example/src/Inherits.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Inherits.res rename to tests/gentype_tests/typescript-react-example/src/Inherits.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/Inherits.res.js b/tests/gentype_tests/typescript-react-example/src/Inherits.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Inherits.res.js rename to tests/gentype_tests/typescript-react-example/src/Inherits.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/InnerModuleSignature.gen.tsx b/tests/gentype_tests/typescript-react-example/src/InnerModuleSignature.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/InnerModuleSignature.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/InnerModuleSignature.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/InnerModuleSignature.res b/tests/gentype_tests/typescript-react-example/src/InnerModuleSignature.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/InnerModuleSignature.res rename to tests/gentype_tests/typescript-react-example/src/InnerModuleSignature.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/InnerModuleSignature.res.js b/tests/gentype_tests/typescript-react-example/src/InnerModuleSignature.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/InnerModuleSignature.res.js rename to tests/gentype_tests/typescript-react-example/src/InnerModuleSignature.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/JSResource.res b/tests/gentype_tests/typescript-react-example/src/JSResource.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/JSResource.res rename to tests/gentype_tests/typescript-react-example/src/JSResource.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/JSResource.res.js b/tests/gentype_tests/typescript-react-example/src/JSResource.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/JSResource.res.js rename to tests/gentype_tests/typescript-react-example/src/JSResource.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/JSXV4.gen.tsx b/tests/gentype_tests/typescript-react-example/src/JSXV4.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/JSXV4.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/JSXV4.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/JSXV4.res b/tests/gentype_tests/typescript-react-example/src/JSXV4.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/JSXV4.res rename to tests/gentype_tests/typescript-react-example/src/JSXV4.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/JSXV4.res.js b/tests/gentype_tests/typescript-react-example/src/JSXV4.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/JSXV4.res.js rename to tests/gentype_tests/typescript-react-example/src/JSXV4.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/LabeledFun.gen.tsx b/tests/gentype_tests/typescript-react-example/src/LabeledFun.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/LabeledFun.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/LabeledFun.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/LabeledFun.res b/tests/gentype_tests/typescript-react-example/src/LabeledFun.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/LabeledFun.res rename to tests/gentype_tests/typescript-react-example/src/LabeledFun.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/LabeledFun.res.js b/tests/gentype_tests/typescript-react-example/src/LabeledFun.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/LabeledFun.res.js rename to tests/gentype_tests/typescript-react-example/src/LabeledFun.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/LetPrivate.gen.tsx b/tests/gentype_tests/typescript-react-example/src/LetPrivate.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/LetPrivate.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/LetPrivate.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/LetPrivate.res b/tests/gentype_tests/typescript-react-example/src/LetPrivate.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/LetPrivate.res rename to tests/gentype_tests/typescript-react-example/src/LetPrivate.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/LetPrivate.res.js b/tests/gentype_tests/typescript-react-example/src/LetPrivate.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/LetPrivate.res.js rename to tests/gentype_tests/typescript-react-example/src/LetPrivate.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/Lib.gen.tsx b/tests/gentype_tests/typescript-react-example/src/Lib.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Lib.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/Lib.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/Lib.res b/tests/gentype_tests/typescript-react-example/src/Lib.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Lib.res rename to tests/gentype_tests/typescript-react-example/src/Lib.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/Lib.res.js b/tests/gentype_tests/typescript-react-example/src/Lib.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Lib.res.js rename to tests/gentype_tests/typescript-react-example/src/Lib.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/Machine.gen.tsx b/tests/gentype_tests/typescript-react-example/src/Machine.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Machine.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/Machine.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/Machine.res b/tests/gentype_tests/typescript-react-example/src/Machine.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Machine.res rename to tests/gentype_tests/typescript-react-example/src/Machine.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/Machine.res.js b/tests/gentype_tests/typescript-react-example/src/Machine.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Machine.res.js rename to tests/gentype_tests/typescript-react-example/src/Machine.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/Map_.res b/tests/gentype_tests/typescript-react-example/src/Map_.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Map_.res rename to tests/gentype_tests/typescript-react-example/src/Map_.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/Map_.res.js b/tests/gentype_tests/typescript-react-example/src/Map_.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Map_.res.js rename to tests/gentype_tests/typescript-react-example/src/Map_.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/ModuleAliases.gen.tsx b/tests/gentype_tests/typescript-react-example/src/ModuleAliases.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/ModuleAliases.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/ModuleAliases.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/ModuleAliases.res b/tests/gentype_tests/typescript-react-example/src/ModuleAliases.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/ModuleAliases.res rename to tests/gentype_tests/typescript-react-example/src/ModuleAliases.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/ModuleAliases.res.js b/tests/gentype_tests/typescript-react-example/src/ModuleAliases.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/ModuleAliases.res.js rename to tests/gentype_tests/typescript-react-example/src/ModuleAliases.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/ModuleAliases2.gen.tsx b/tests/gentype_tests/typescript-react-example/src/ModuleAliases2.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/ModuleAliases2.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/ModuleAliases2.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/ModuleAliases2.res b/tests/gentype_tests/typescript-react-example/src/ModuleAliases2.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/ModuleAliases2.res rename to tests/gentype_tests/typescript-react-example/src/ModuleAliases2.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/ModuleAliases2.res.js b/tests/gentype_tests/typescript-react-example/src/ModuleAliases2.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/ModuleAliases2.res.js rename to tests/gentype_tests/typescript-react-example/src/ModuleAliases2.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/ModuleResolution1.gen.tsx b/tests/gentype_tests/typescript-react-example/src/ModuleResolution1.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/ModuleResolution1.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/ModuleResolution1.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/ModuleResolution1.res b/tests/gentype_tests/typescript-react-example/src/ModuleResolution1.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/ModuleResolution1.res rename to tests/gentype_tests/typescript-react-example/src/ModuleResolution1.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/ModuleResolution1.res.js b/tests/gentype_tests/typescript-react-example/src/ModuleResolution1.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/ModuleResolution1.res.js rename to tests/gentype_tests/typescript-react-example/src/ModuleResolution1.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/ModuleResolution2.gen.tsx b/tests/gentype_tests/typescript-react-example/src/ModuleResolution2.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/ModuleResolution2.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/ModuleResolution2.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/ModuleResolution2.res b/tests/gentype_tests/typescript-react-example/src/ModuleResolution2.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/ModuleResolution2.res rename to tests/gentype_tests/typescript-react-example/src/ModuleResolution2.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/ModuleResolution2.res.js b/tests/gentype_tests/typescript-react-example/src/ModuleResolution2.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/ModuleResolution2.res.js rename to tests/gentype_tests/typescript-react-example/src/ModuleResolution2.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/MoreVariants.gen.tsx b/tests/gentype_tests/typescript-react-example/src/MoreVariants.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/MoreVariants.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/MoreVariants.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/MoreVariants.res b/tests/gentype_tests/typescript-react-example/src/MoreVariants.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/MoreVariants.res rename to tests/gentype_tests/typescript-react-example/src/MoreVariants.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/MoreVariants.res.js b/tests/gentype_tests/typescript-react-example/src/MoreVariants.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/MoreVariants.res.js rename to tests/gentype_tests/typescript-react-example/src/MoreVariants.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/MyInput.gen.tsx b/tests/gentype_tests/typescript-react-example/src/MyInput.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/MyInput.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/MyInput.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/MyInput.res b/tests/gentype_tests/typescript-react-example/src/MyInput.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/MyInput.res rename to tests/gentype_tests/typescript-react-example/src/MyInput.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/MyInput.res.js b/tests/gentype_tests/typescript-react-example/src/MyInput.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/MyInput.res.js rename to tests/gentype_tests/typescript-react-example/src/MyInput.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/MyInput.tsx b/tests/gentype_tests/typescript-react-example/src/MyInput.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/MyInput.tsx rename to tests/gentype_tests/typescript-react-example/src/MyInput.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/MyMath.ts b/tests/gentype_tests/typescript-react-example/src/MyMath.ts similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/MyMath.ts rename to tests/gentype_tests/typescript-react-example/src/MyMath.ts diff --git a/jscomp/gentype_tests/typescript-react-example/src/MyModule.gen.tsx b/tests/gentype_tests/typescript-react-example/src/MyModule.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/MyModule.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/MyModule.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/MyModule.res b/tests/gentype_tests/typescript-react-example/src/MyModule.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/MyModule.res rename to tests/gentype_tests/typescript-react-example/src/MyModule.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/MyModule.res.js b/tests/gentype_tests/typescript-react-example/src/MyModule.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/MyModule.res.js rename to tests/gentype_tests/typescript-react-example/src/MyModule.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/NestedModules.gen.tsx b/tests/gentype_tests/typescript-react-example/src/NestedModules.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/NestedModules.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/NestedModules.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/NestedModules.res b/tests/gentype_tests/typescript-react-example/src/NestedModules.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/NestedModules.res rename to tests/gentype_tests/typescript-react-example/src/NestedModules.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/NestedModules.res.js b/tests/gentype_tests/typescript-react-example/src/NestedModules.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/NestedModules.res.js rename to tests/gentype_tests/typescript-react-example/src/NestedModules.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/NestedModulesInSignature.gen.tsx b/tests/gentype_tests/typescript-react-example/src/NestedModulesInSignature.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/NestedModulesInSignature.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/NestedModulesInSignature.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/NestedModulesInSignature.res b/tests/gentype_tests/typescript-react-example/src/NestedModulesInSignature.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/NestedModulesInSignature.res rename to tests/gentype_tests/typescript-react-example/src/NestedModulesInSignature.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/NestedModulesInSignature.res.js b/tests/gentype_tests/typescript-react-example/src/NestedModulesInSignature.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/NestedModulesInSignature.res.js rename to tests/gentype_tests/typescript-react-example/src/NestedModulesInSignature.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/NestedModulesInSignature.resi b/tests/gentype_tests/typescript-react-example/src/NestedModulesInSignature.resi similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/NestedModulesInSignature.resi rename to tests/gentype_tests/typescript-react-example/src/NestedModulesInSignature.resi diff --git a/jscomp/gentype_tests/typescript-react-example/src/NestedVariants.gen.tsx b/tests/gentype_tests/typescript-react-example/src/NestedVariants.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/NestedVariants.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/NestedVariants.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/NestedVariants.res b/tests/gentype_tests/typescript-react-example/src/NestedVariants.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/NestedVariants.res rename to tests/gentype_tests/typescript-react-example/src/NestedVariants.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/NestedVariants.res.js b/tests/gentype_tests/typescript-react-example/src/NestedVariants.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/NestedVariants.res.js rename to tests/gentype_tests/typescript-react-example/src/NestedVariants.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/NonrecursiveTypes.gen.tsx b/tests/gentype_tests/typescript-react-example/src/NonrecursiveTypes.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/NonrecursiveTypes.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/NonrecursiveTypes.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/NonrecursiveTypes.res b/tests/gentype_tests/typescript-react-example/src/NonrecursiveTypes.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/NonrecursiveTypes.res rename to tests/gentype_tests/typescript-react-example/src/NonrecursiveTypes.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/NonrecursiveTypes.res.js b/tests/gentype_tests/typescript-react-example/src/NonrecursiveTypes.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/NonrecursiveTypes.res.js rename to tests/gentype_tests/typescript-react-example/src/NonrecursiveTypes.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/Null.res b/tests/gentype_tests/typescript-react-example/src/Null.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Null.res rename to tests/gentype_tests/typescript-react-example/src/Null.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/Null.res.js b/tests/gentype_tests/typescript-react-example/src/Null.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Null.res.js rename to tests/gentype_tests/typescript-react-example/src/Null.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/Nullable.res b/tests/gentype_tests/typescript-react-example/src/Nullable.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Nullable.res rename to tests/gentype_tests/typescript-react-example/src/Nullable.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/Nullable.res.js b/tests/gentype_tests/typescript-react-example/src/Nullable.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Nullable.res.js rename to tests/gentype_tests/typescript-react-example/src/Nullable.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/NumericPolyVar.gen.tsx b/tests/gentype_tests/typescript-react-example/src/NumericPolyVar.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/NumericPolyVar.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/NumericPolyVar.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/NumericPolyVar.res b/tests/gentype_tests/typescript-react-example/src/NumericPolyVar.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/NumericPolyVar.res rename to tests/gentype_tests/typescript-react-example/src/NumericPolyVar.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/NumericPolyVar.res.js b/tests/gentype_tests/typescript-react-example/src/NumericPolyVar.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/NumericPolyVar.res.js rename to tests/gentype_tests/typescript-react-example/src/NumericPolyVar.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/Object.gen.tsx b/tests/gentype_tests/typescript-react-example/src/Object.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Object.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/Object.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/Object.res b/tests/gentype_tests/typescript-react-example/src/Object.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Object.res rename to tests/gentype_tests/typescript-react-example/src/Object.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/Object.res.js b/tests/gentype_tests/typescript-react-example/src/Object.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Object.res.js rename to tests/gentype_tests/typescript-react-example/src/Object.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/OnClick2.gen.tsx b/tests/gentype_tests/typescript-react-example/src/OnClick2.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/OnClick2.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/OnClick2.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/OnClick2.res b/tests/gentype_tests/typescript-react-example/src/OnClick2.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/OnClick2.res rename to tests/gentype_tests/typescript-react-example/src/OnClick2.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/OnClick2.res.js b/tests/gentype_tests/typescript-react-example/src/OnClick2.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/OnClick2.res.js rename to tests/gentype_tests/typescript-react-example/src/OnClick2.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/Opaque.gen.tsx b/tests/gentype_tests/typescript-react-example/src/Opaque.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Opaque.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/Opaque.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/Opaque.res b/tests/gentype_tests/typescript-react-example/src/Opaque.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Opaque.res rename to tests/gentype_tests/typescript-react-example/src/Opaque.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/Opaque.res.js b/tests/gentype_tests/typescript-react-example/src/Opaque.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Opaque.res.js rename to tests/gentype_tests/typescript-react-example/src/Opaque.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/Promise.res b/tests/gentype_tests/typescript-react-example/src/Promise.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Promise.res rename to tests/gentype_tests/typescript-react-example/src/Promise.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/Promise.res.js b/tests/gentype_tests/typescript-react-example/src/Promise.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Promise.res.js rename to tests/gentype_tests/typescript-react-example/src/Promise.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/Records.gen.tsx b/tests/gentype_tests/typescript-react-example/src/Records.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Records.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/Records.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/Records.res b/tests/gentype_tests/typescript-react-example/src/Records.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Records.res rename to tests/gentype_tests/typescript-react-example/src/Records.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/Records.res.js b/tests/gentype_tests/typescript-react-example/src/Records.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Records.res.js rename to tests/gentype_tests/typescript-react-example/src/Records.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/References.gen.tsx b/tests/gentype_tests/typescript-react-example/src/References.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/References.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/References.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/References.res b/tests/gentype_tests/typescript-react-example/src/References.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/References.res rename to tests/gentype_tests/typescript-react-example/src/References.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/References.res.js b/tests/gentype_tests/typescript-react-example/src/References.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/References.res.js rename to tests/gentype_tests/typescript-react-example/src/References.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/RegExp.res b/tests/gentype_tests/typescript-react-example/src/RegExp.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/RegExp.res rename to tests/gentype_tests/typescript-react-example/src/RegExp.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/RegExp.res.js b/tests/gentype_tests/typescript-react-example/src/RegExp.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/RegExp.res.js rename to tests/gentype_tests/typescript-react-example/src/RegExp.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/RequireCond.res b/tests/gentype_tests/typescript-react-example/src/RequireCond.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/RequireCond.res rename to tests/gentype_tests/typescript-react-example/src/RequireCond.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/RequireCond.res.js b/tests/gentype_tests/typescript-react-example/src/RequireCond.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/RequireCond.res.js rename to tests/gentype_tests/typescript-react-example/src/RequireCond.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/Set_.res b/tests/gentype_tests/typescript-react-example/src/Set_.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Set_.res rename to tests/gentype_tests/typescript-react-example/src/Set_.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/Set_.res.js b/tests/gentype_tests/typescript-react-example/src/Set_.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Set_.res.js rename to tests/gentype_tests/typescript-react-example/src/Set_.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/Shadow.gen.tsx b/tests/gentype_tests/typescript-react-example/src/Shadow.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Shadow.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/Shadow.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/Shadow.res b/tests/gentype_tests/typescript-react-example/src/Shadow.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Shadow.res rename to tests/gentype_tests/typescript-react-example/src/Shadow.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/Shadow.res.js b/tests/gentype_tests/typescript-react-example/src/Shadow.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Shadow.res.js rename to tests/gentype_tests/typescript-react-example/src/Shadow.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/TestEmitInnerModules.gen.tsx b/tests/gentype_tests/typescript-react-example/src/TestEmitInnerModules.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/TestEmitInnerModules.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/TestEmitInnerModules.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/TestEmitInnerModules.res b/tests/gentype_tests/typescript-react-example/src/TestEmitInnerModules.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/TestEmitInnerModules.res rename to tests/gentype_tests/typescript-react-example/src/TestEmitInnerModules.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/TestEmitInnerModules.res.js b/tests/gentype_tests/typescript-react-example/src/TestEmitInnerModules.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/TestEmitInnerModules.res.js rename to tests/gentype_tests/typescript-react-example/src/TestEmitInnerModules.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/TestFirstClassModules.gen.tsx b/tests/gentype_tests/typescript-react-example/src/TestFirstClassModules.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/TestFirstClassModules.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/TestFirstClassModules.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/TestFirstClassModules.res b/tests/gentype_tests/typescript-react-example/src/TestFirstClassModules.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/TestFirstClassModules.res rename to tests/gentype_tests/typescript-react-example/src/TestFirstClassModules.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/TestFirstClassModules.res.js b/tests/gentype_tests/typescript-react-example/src/TestFirstClassModules.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/TestFirstClassModules.res.js rename to tests/gentype_tests/typescript-react-example/src/TestFirstClassModules.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/TestImmutableArray.gen.tsx b/tests/gentype_tests/typescript-react-example/src/TestImmutableArray.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/TestImmutableArray.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/TestImmutableArray.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/TestImmutableArray.res b/tests/gentype_tests/typescript-react-example/src/TestImmutableArray.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/TestImmutableArray.res rename to tests/gentype_tests/typescript-react-example/src/TestImmutableArray.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/TestImmutableArray.res.js b/tests/gentype_tests/typescript-react-example/src/TestImmutableArray.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/TestImmutableArray.res.js rename to tests/gentype_tests/typescript-react-example/src/TestImmutableArray.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/TestModuleAliases.gen.tsx b/tests/gentype_tests/typescript-react-example/src/TestModuleAliases.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/TestModuleAliases.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/TestModuleAliases.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/TestModuleAliases.res b/tests/gentype_tests/typescript-react-example/src/TestModuleAliases.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/TestModuleAliases.res rename to tests/gentype_tests/typescript-react-example/src/TestModuleAliases.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/TestModuleAliases.res.js b/tests/gentype_tests/typescript-react-example/src/TestModuleAliases.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/TestModuleAliases.res.js rename to tests/gentype_tests/typescript-react-example/src/TestModuleAliases.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/TestPromise.gen.tsx b/tests/gentype_tests/typescript-react-example/src/TestPromise.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/TestPromise.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/TestPromise.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/TestPromise.res b/tests/gentype_tests/typescript-react-example/src/TestPromise.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/TestPromise.res rename to tests/gentype_tests/typescript-react-example/src/TestPromise.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/TestPromise.res.js b/tests/gentype_tests/typescript-react-example/src/TestPromise.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/TestPromise.res.js rename to tests/gentype_tests/typescript-react-example/src/TestPromise.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/TransitiveType1.gen.tsx b/tests/gentype_tests/typescript-react-example/src/TransitiveType1.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/TransitiveType1.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/TransitiveType1.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/TransitiveType1.res b/tests/gentype_tests/typescript-react-example/src/TransitiveType1.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/TransitiveType1.res rename to tests/gentype_tests/typescript-react-example/src/TransitiveType1.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/TransitiveType1.res.js b/tests/gentype_tests/typescript-react-example/src/TransitiveType1.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/TransitiveType1.res.js rename to tests/gentype_tests/typescript-react-example/src/TransitiveType1.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/TransitiveType2.gen.tsx b/tests/gentype_tests/typescript-react-example/src/TransitiveType2.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/TransitiveType2.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/TransitiveType2.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/TransitiveType2.res b/tests/gentype_tests/typescript-react-example/src/TransitiveType2.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/TransitiveType2.res rename to tests/gentype_tests/typescript-react-example/src/TransitiveType2.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/TransitiveType2.res.js b/tests/gentype_tests/typescript-react-example/src/TransitiveType2.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/TransitiveType2.res.js rename to tests/gentype_tests/typescript-react-example/src/TransitiveType2.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/TransitiveType3.gen.tsx b/tests/gentype_tests/typescript-react-example/src/TransitiveType3.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/TransitiveType3.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/TransitiveType3.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/TransitiveType3.res b/tests/gentype_tests/typescript-react-example/src/TransitiveType3.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/TransitiveType3.res rename to tests/gentype_tests/typescript-react-example/src/TransitiveType3.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/TransitiveType3.res.js b/tests/gentype_tests/typescript-react-example/src/TransitiveType3.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/TransitiveType3.res.js rename to tests/gentype_tests/typescript-react-example/src/TransitiveType3.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/TypeNameSanitize.gen.tsx b/tests/gentype_tests/typescript-react-example/src/TypeNameSanitize.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/TypeNameSanitize.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/TypeNameSanitize.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/TypeNameSanitize.res b/tests/gentype_tests/typescript-react-example/src/TypeNameSanitize.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/TypeNameSanitize.res rename to tests/gentype_tests/typescript-react-example/src/TypeNameSanitize.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/TypeNameSanitize.res.js b/tests/gentype_tests/typescript-react-example/src/TypeNameSanitize.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/TypeNameSanitize.res.js rename to tests/gentype_tests/typescript-react-example/src/TypeNameSanitize.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/TypeParams1.gen.tsx b/tests/gentype_tests/typescript-react-example/src/TypeParams1.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/TypeParams1.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/TypeParams1.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/TypeParams1.res b/tests/gentype_tests/typescript-react-example/src/TypeParams1.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/TypeParams1.res rename to tests/gentype_tests/typescript-react-example/src/TypeParams1.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/TypeParams1.res.js b/tests/gentype_tests/typescript-react-example/src/TypeParams1.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/TypeParams1.res.js rename to tests/gentype_tests/typescript-react-example/src/TypeParams1.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/TypeParams2.gen.tsx b/tests/gentype_tests/typescript-react-example/src/TypeParams2.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/TypeParams2.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/TypeParams2.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/TypeParams2.res b/tests/gentype_tests/typescript-react-example/src/TypeParams2.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/TypeParams2.res rename to tests/gentype_tests/typescript-react-example/src/TypeParams2.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/TypeParams2.res.js b/tests/gentype_tests/typescript-react-example/src/TypeParams2.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/TypeParams2.res.js rename to tests/gentype_tests/typescript-react-example/src/TypeParams2.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/TypeParams3.gen.tsx b/tests/gentype_tests/typescript-react-example/src/TypeParams3.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/TypeParams3.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/TypeParams3.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/TypeParams3.res b/tests/gentype_tests/typescript-react-example/src/TypeParams3.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/TypeParams3.res rename to tests/gentype_tests/typescript-react-example/src/TypeParams3.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/TypeParams3.res.js b/tests/gentype_tests/typescript-react-example/src/TypeParams3.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/TypeParams3.res.js rename to tests/gentype_tests/typescript-react-example/src/TypeParams3.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/Unboxed.gen.tsx b/tests/gentype_tests/typescript-react-example/src/Unboxed.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Unboxed.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/Unboxed.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/Unboxed.res b/tests/gentype_tests/typescript-react-example/src/Unboxed.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Unboxed.res rename to tests/gentype_tests/typescript-react-example/src/Unboxed.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/Unboxed.res.js b/tests/gentype_tests/typescript-react-example/src/Unboxed.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Unboxed.res.js rename to tests/gentype_tests/typescript-react-example/src/Unboxed.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/Uncurried.gen.tsx b/tests/gentype_tests/typescript-react-example/src/Uncurried.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Uncurried.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/Uncurried.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/Uncurried.res b/tests/gentype_tests/typescript-react-example/src/Uncurried.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Uncurried.res rename to tests/gentype_tests/typescript-react-example/src/Uncurried.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/Uncurried.res.js b/tests/gentype_tests/typescript-react-example/src/Uncurried.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Uncurried.res.js rename to tests/gentype_tests/typescript-react-example/src/Uncurried.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/Undefined.res b/tests/gentype_tests/typescript-react-example/src/Undefined.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Undefined.res rename to tests/gentype_tests/typescript-react-example/src/Undefined.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/Undefined.res.js b/tests/gentype_tests/typescript-react-example/src/Undefined.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Undefined.res.js rename to tests/gentype_tests/typescript-react-example/src/Undefined.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/Usage.gen.tsx b/tests/gentype_tests/typescript-react-example/src/Usage.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Usage.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/Usage.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/Usage.res b/tests/gentype_tests/typescript-react-example/src/Usage.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Usage.res rename to tests/gentype_tests/typescript-react-example/src/Usage.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/Usage.res.js b/tests/gentype_tests/typescript-react-example/src/Usage.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Usage.res.js rename to tests/gentype_tests/typescript-react-example/src/Usage.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/UseImportJsValue.gen.tsx b/tests/gentype_tests/typescript-react-example/src/UseImportJsValue.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/UseImportJsValue.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/UseImportJsValue.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/UseImportJsValue.res b/tests/gentype_tests/typescript-react-example/src/UseImportJsValue.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/UseImportJsValue.res rename to tests/gentype_tests/typescript-react-example/src/UseImportJsValue.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/UseImportJsValue.res.js b/tests/gentype_tests/typescript-react-example/src/UseImportJsValue.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/UseImportJsValue.res.js rename to tests/gentype_tests/typescript-react-example/src/UseImportJsValue.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/V3Compatibility.gen.tsx b/tests/gentype_tests/typescript-react-example/src/V3Compatibility.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/V3Compatibility.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/V3Compatibility.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/V3Compatibility.res b/tests/gentype_tests/typescript-react-example/src/V3Compatibility.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/V3Compatibility.res rename to tests/gentype_tests/typescript-react-example/src/V3Compatibility.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/V3Compatibility.res.js b/tests/gentype_tests/typescript-react-example/src/V3Compatibility.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/V3Compatibility.res.js rename to tests/gentype_tests/typescript-react-example/src/V3Compatibility.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/Variants.gen.tsx b/tests/gentype_tests/typescript-react-example/src/Variants.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Variants.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/Variants.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/Variants.res b/tests/gentype_tests/typescript-react-example/src/Variants.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Variants.res rename to tests/gentype_tests/typescript-react-example/src/Variants.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/Variants.res.js b/tests/gentype_tests/typescript-react-example/src/Variants.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Variants.res.js rename to tests/gentype_tests/typescript-react-example/src/Variants.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/VariantsWithPayload.gen.tsx b/tests/gentype_tests/typescript-react-example/src/VariantsWithPayload.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/VariantsWithPayload.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/VariantsWithPayload.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/VariantsWithPayload.res b/tests/gentype_tests/typescript-react-example/src/VariantsWithPayload.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/VariantsWithPayload.res rename to tests/gentype_tests/typescript-react-example/src/VariantsWithPayload.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/VariantsWithPayload.res.js b/tests/gentype_tests/typescript-react-example/src/VariantsWithPayload.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/VariantsWithPayload.res.js rename to tests/gentype_tests/typescript-react-example/src/VariantsWithPayload.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/Warnings.gen.tsx b/tests/gentype_tests/typescript-react-example/src/Warnings.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Warnings.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/Warnings.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/Warnings.res b/tests/gentype_tests/typescript-react-example/src/Warnings.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Warnings.res rename to tests/gentype_tests/typescript-react-example/src/Warnings.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/Warnings.res.js b/tests/gentype_tests/typescript-react-example/src/Warnings.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Warnings.res.js rename to tests/gentype_tests/typescript-react-example/src/Warnings.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/WeakMap.res b/tests/gentype_tests/typescript-react-example/src/WeakMap.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/WeakMap.res rename to tests/gentype_tests/typescript-react-example/src/WeakMap.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/WeakMap.res.js b/tests/gentype_tests/typescript-react-example/src/WeakMap.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/WeakMap.res.js rename to tests/gentype_tests/typescript-react-example/src/WeakMap.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/WeakSet.res b/tests/gentype_tests/typescript-react-example/src/WeakSet.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/WeakSet.res rename to tests/gentype_tests/typescript-react-example/src/WeakSet.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/WeakSet.res.js b/tests/gentype_tests/typescript-react-example/src/WeakSet.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/WeakSet.res.js rename to tests/gentype_tests/typescript-react-example/src/WeakSet.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/Wrapper.gen.tsx b/tests/gentype_tests/typescript-react-example/src/Wrapper.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Wrapper.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/Wrapper.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/Wrapper.res b/tests/gentype_tests/typescript-react-example/src/Wrapper.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Wrapper.res rename to tests/gentype_tests/typescript-react-example/src/Wrapper.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/Wrapper.res.js b/tests/gentype_tests/typescript-react-example/src/Wrapper.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/Wrapper.res.js rename to tests/gentype_tests/typescript-react-example/src/Wrapper.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/counter.gen.tsx b/tests/gentype_tests/typescript-react-example/src/counter.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/counter.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/counter.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/counter.res b/tests/gentype_tests/typescript-react-example/src/counter.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/counter.res rename to tests/gentype_tests/typescript-react-example/src/counter.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/counter.res.js b/tests/gentype_tests/typescript-react-example/src/counter.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/counter.res.js rename to tests/gentype_tests/typescript-react-example/src/counter.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/exportNestedValues.js b/tests/gentype_tests/typescript-react-example/src/exportNestedValues.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/exportNestedValues.js rename to tests/gentype_tests/typescript-react-example/src/exportNestedValues.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/hookExample.tsx b/tests/gentype_tests/typescript-react-example/src/hookExample.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/hookExample.tsx rename to tests/gentype_tests/typescript-react-example/src/hookExample.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/index.css b/tests/gentype_tests/typescript-react-example/src/index.css similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/index.css rename to tests/gentype_tests/typescript-react-example/src/index.css diff --git a/jscomp/gentype_tests/typescript-react-example/src/index.tsx b/tests/gentype_tests/typescript-react-example/src/index.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/index.tsx rename to tests/gentype_tests/typescript-react-example/src/index.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/location/location.gen.tsx b/tests/gentype_tests/typescript-react-example/src/location/location.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/location/location.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/location/location.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/location/location.res b/tests/gentype_tests/typescript-react-example/src/location/location.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/location/location.res rename to tests/gentype_tests/typescript-react-example/src/location/location.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/location/location.res.js b/tests/gentype_tests/typescript-react-example/src/location/location.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/location/location.res.js rename to tests/gentype_tests/typescript-react-example/src/location/location.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/logo.svg b/tests/gentype_tests/typescript-react-example/src/logo.svg similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/logo.svg rename to tests/gentype_tests/typescript-react-example/src/logo.svg diff --git a/jscomp/gentype_tests/typescript-react-example/src/nested/Tuples.gen.tsx b/tests/gentype_tests/typescript-react-example/src/nested/Tuples.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/nested/Tuples.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/nested/Tuples.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/nested/Tuples.res b/tests/gentype_tests/typescript-react-example/src/nested/Tuples.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/nested/Tuples.res rename to tests/gentype_tests/typescript-react-example/src/nested/Tuples.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/nested/Tuples.res.js b/tests/gentype_tests/typescript-react-example/src/nested/Tuples.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/nested/Tuples.res.js rename to tests/gentype_tests/typescript-react-example/src/nested/Tuples.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/nested/Types.gen.tsx b/tests/gentype_tests/typescript-react-example/src/nested/Types.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/nested/Types.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/nested/Types.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/nested/Types.res b/tests/gentype_tests/typescript-react-example/src/nested/Types.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/nested/Types.res rename to tests/gentype_tests/typescript-react-example/src/nested/Types.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/nested/Types.res.js b/tests/gentype_tests/typescript-react-example/src/nested/Types.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/nested/Types.res.js rename to tests/gentype_tests/typescript-react-example/src/nested/Types.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/react-app-env.d.ts b/tests/gentype_tests/typescript-react-example/src/react-app-env.d.ts similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/react-app-env.d.ts rename to tests/gentype_tests/typescript-react-example/src/react-app-env.d.ts diff --git a/jscomp/gentype_tests/typescript-react-example/src/shims/Belt.shim.ts b/tests/gentype_tests/typescript-react-example/src/shims/Belt.shim.ts similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/shims/Belt.shim.ts rename to tests/gentype_tests/typescript-react-example/src/shims/Belt.shim.ts diff --git a/jscomp/gentype_tests/typescript-react-example/src/shims/Js.shim.ts b/tests/gentype_tests/typescript-react-example/src/shims/Js.shim.ts similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/shims/Js.shim.ts rename to tests/gentype_tests/typescript-react-example/src/shims/Js.shim.ts diff --git a/jscomp/gentype_tests/typescript-react-example/src/shims/ReactEvent.shim.ts b/tests/gentype_tests/typescript-react-example/src/shims/ReactEvent.shim.ts similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/shims/ReactEvent.shim.ts rename to tests/gentype_tests/typescript-react-example/src/shims/ReactEvent.shim.ts diff --git a/jscomp/gentype_tests/typescript-react-example/src/shims/RescriptPervasives.shim.ts b/tests/gentype_tests/typescript-react-example/src/shims/RescriptPervasives.shim.ts similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/shims/RescriptPervasives.shim.ts rename to tests/gentype_tests/typescript-react-example/src/shims/RescriptPervasives.shim.ts diff --git a/jscomp/gentype_tests/typescript-react-example/src/strange_file_names/404.gen.tsx b/tests/gentype_tests/typescript-react-example/src/strange_file_names/404.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/strange_file_names/404.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/strange_file_names/404.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/strange_file_names/404.res b/tests/gentype_tests/typescript-react-example/src/strange_file_names/404.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/strange_file_names/404.res rename to tests/gentype_tests/typescript-react-example/src/strange_file_names/404.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/strange_file_names/404.res.js b/tests/gentype_tests/typescript-react-example/src/strange_file_names/404.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/strange_file_names/404.res.js rename to tests/gentype_tests/typescript-react-example/src/strange_file_names/404.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/strange_file_names/AppModal.web.gen.tsx b/tests/gentype_tests/typescript-react-example/src/strange_file_names/AppModal.web.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/strange_file_names/AppModal.web.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/strange_file_names/AppModal.web.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/strange_file_names/AppModal.web.res b/tests/gentype_tests/typescript-react-example/src/strange_file_names/AppModal.web.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/strange_file_names/AppModal.web.res rename to tests/gentype_tests/typescript-react-example/src/strange_file_names/AppModal.web.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/strange_file_names/AppModal.web.res.js b/tests/gentype_tests/typescript-react-example/src/strange_file_names/AppModal.web.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/strange_file_names/AppModal.web.res.js rename to tests/gentype_tests/typescript-react-example/src/strange_file_names/AppModal.web.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/strange_file_names/_under.gen.tsx b/tests/gentype_tests/typescript-react-example/src/strange_file_names/_under.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/strange_file_names/_under.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/strange_file_names/_under.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/strange_file_names/_under.res b/tests/gentype_tests/typescript-react-example/src/strange_file_names/_under.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/strange_file_names/_under.res rename to tests/gentype_tests/typescript-react-example/src/strange_file_names/_under.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/strange_file_names/_under.res.js b/tests/gentype_tests/typescript-react-example/src/strange_file_names/_under.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/strange_file_names/_under.res.js rename to tests/gentype_tests/typescript-react-example/src/strange_file_names/_under.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/strange_file_names/with_underscore.gen.tsx b/tests/gentype_tests/typescript-react-example/src/strange_file_names/with_underscore.gen.tsx similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/strange_file_names/with_underscore.gen.tsx rename to tests/gentype_tests/typescript-react-example/src/strange_file_names/with_underscore.gen.tsx diff --git a/jscomp/gentype_tests/typescript-react-example/src/strange_file_names/with_underscore.res b/tests/gentype_tests/typescript-react-example/src/strange_file_names/with_underscore.res similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/strange_file_names/with_underscore.res rename to tests/gentype_tests/typescript-react-example/src/strange_file_names/with_underscore.res diff --git a/jscomp/gentype_tests/typescript-react-example/src/strange_file_names/with_underscore.res.js b/tests/gentype_tests/typescript-react-example/src/strange_file_names/with_underscore.res.js similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/strange_file_names/with_underscore.res.js rename to tests/gentype_tests/typescript-react-example/src/strange_file_names/with_underscore.res.js diff --git a/jscomp/gentype_tests/typescript-react-example/src/testReferences.ts b/tests/gentype_tests/typescript-react-example/src/testReferences.ts similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/src/testReferences.ts rename to tests/gentype_tests/typescript-react-example/src/testReferences.ts diff --git a/jscomp/gentype_tests/typescript-react-example/tsconfig.json b/tests/gentype_tests/typescript-react-example/tsconfig.json similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/tsconfig.json rename to tests/gentype_tests/typescript-react-example/tsconfig.json diff --git a/jscomp/gentype_tests/typescript-react-example/tsconfig.prod.json b/tests/gentype_tests/typescript-react-example/tsconfig.prod.json similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/tsconfig.prod.json rename to tests/gentype_tests/typescript-react-example/tsconfig.prod.json diff --git a/jscomp/gentype_tests/typescript-react-example/tsconfig.test.json b/tests/gentype_tests/typescript-react-example/tsconfig.test.json similarity index 100% rename from jscomp/gentype_tests/typescript-react-example/tsconfig.test.json rename to tests/gentype_tests/typescript-react-example/tsconfig.test.json diff --git a/tests/tests/rescript.json b/tests/tests/rescript.json new file mode 100644 index 0000000000..71a10aaea0 --- /dev/null +++ b/tests/tests/rescript.json @@ -0,0 +1,18 @@ +{ + "name": "rescript-tests", + "sources": [ + { + "dir": "src", + "subdirs": true + } + ], + "package-specs": { + "module": "commonjs", + "in-source": true + }, + "bsc-flags": [ + "-bs-cross-module-opt", + "-w -3-6-26-27-29-30-32..40-44-45-52-60-9-106+104", + "-warn-error A" + ] +} \ No newline at end of file diff --git a/jscomp/test/AsInUncurriedExternals.js b/tests/tests/src/AsInUncurriedExternals.js similarity index 100% rename from jscomp/test/AsInUncurriedExternals.js rename to tests/tests/src/AsInUncurriedExternals.js diff --git a/jscomp/test/AsInUncurriedExternals.res b/tests/tests/src/AsInUncurriedExternals.res similarity index 100% rename from jscomp/test/AsInUncurriedExternals.res rename to tests/tests/src/AsInUncurriedExternals.res diff --git a/jscomp/test/Coercion.js b/tests/tests/src/Coercion.js similarity index 100% rename from jscomp/test/Coercion.js rename to tests/tests/src/Coercion.js diff --git a/jscomp/test/Coercion.res b/tests/tests/src/Coercion.res similarity index 100% rename from jscomp/test/Coercion.res rename to tests/tests/src/Coercion.res diff --git a/jscomp/test/DerivingAccessorsCurried.js b/tests/tests/src/DerivingAccessorsCurried.js similarity index 100% rename from jscomp/test/DerivingAccessorsCurried.js rename to tests/tests/src/DerivingAccessorsCurried.js diff --git a/jscomp/test/DerivingAccessorsCurried.res b/tests/tests/src/DerivingAccessorsCurried.res similarity index 100% rename from jscomp/test/DerivingAccessorsCurried.res rename to tests/tests/src/DerivingAccessorsCurried.res diff --git a/jscomp/test/DerivingAccessorsUncurried.js b/tests/tests/src/DerivingAccessorsUncurried.js similarity index 100% rename from jscomp/test/DerivingAccessorsUncurried.js rename to tests/tests/src/DerivingAccessorsUncurried.js diff --git a/jscomp/test/DerivingAccessorsUncurried.res b/tests/tests/src/DerivingAccessorsUncurried.res similarity index 100% rename from jscomp/test/DerivingAccessorsUncurried.res rename to tests/tests/src/DerivingAccessorsUncurried.res diff --git a/jscomp/test/DictInference.js b/tests/tests/src/DictInference.js similarity index 81% rename from jscomp/test/DictInference.js rename to tests/tests/src/DictInference.js index 51e916fc66..d097d6f953 100644 --- a/jscomp/test/DictInference.js +++ b/tests/tests/src/DictInference.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Js_dict = require("../../lib/js/js_dict.js"); +let Js_dict = require("rescript/lib/js/js_dict.js"); let dict = {}; diff --git a/jscomp/test/DictInference.res b/tests/tests/src/DictInference.res similarity index 100% rename from jscomp/test/DictInference.res rename to tests/tests/src/DictInference.res diff --git a/jscomp/test/DictInternalRepresentation.js b/tests/tests/src/DictInternalRepresentation.js similarity index 100% rename from jscomp/test/DictInternalRepresentation.js rename to tests/tests/src/DictInternalRepresentation.js diff --git a/jscomp/test/DictInternalRepresentation.res b/tests/tests/src/DictInternalRepresentation.res similarity index 100% rename from jscomp/test/DictInternalRepresentation.res rename to tests/tests/src/DictInternalRepresentation.res diff --git a/jscomp/test/DictTests.js b/tests/tests/src/DictTests.js similarity index 100% rename from jscomp/test/DictTests.js rename to tests/tests/src/DictTests.js diff --git a/jscomp/test/DictTests.res b/tests/tests/src/DictTests.res similarity index 100% rename from jscomp/test/DictTests.res rename to tests/tests/src/DictTests.res diff --git a/jscomp/test/DisambiguateOptionalFields.js b/tests/tests/src/DisambiguateOptionalFields.js similarity index 100% rename from jscomp/test/DisambiguateOptionalFields.js rename to tests/tests/src/DisambiguateOptionalFields.js diff --git a/jscomp/test/DisambiguateOptionalFields.res b/tests/tests/src/DisambiguateOptionalFields.res similarity index 100% rename from jscomp/test/DisambiguateOptionalFields.res rename to tests/tests/src/DisambiguateOptionalFields.res diff --git a/jscomp/test/DotDotDot.js b/tests/tests/src/DotDotDot.js similarity index 100% rename from jscomp/test/DotDotDot.js rename to tests/tests/src/DotDotDot.js diff --git a/jscomp/test/DotDotDot.res b/tests/tests/src/DotDotDot.res similarity index 100% rename from jscomp/test/DotDotDot.res rename to tests/tests/src/DotDotDot.res diff --git a/jscomp/test/EmptyRecord.js b/tests/tests/src/EmptyRecord.js similarity index 100% rename from jscomp/test/EmptyRecord.js rename to tests/tests/src/EmptyRecord.js diff --git a/jscomp/test/EmptyRecord.res b/tests/tests/src/EmptyRecord.res similarity index 100% rename from jscomp/test/EmptyRecord.res rename to tests/tests/src/EmptyRecord.res diff --git a/jscomp/test/ExternalArity.js b/tests/tests/src/ExternalArity.js similarity index 100% rename from jscomp/test/ExternalArity.js rename to tests/tests/src/ExternalArity.js diff --git a/jscomp/test/ExternalArity.res b/tests/tests/src/ExternalArity.res similarity index 100% rename from jscomp/test/ExternalArity.res rename to tests/tests/src/ExternalArity.res diff --git a/jscomp/test/FFI.js b/tests/tests/src/FFI.js similarity index 100% rename from jscomp/test/FFI.js rename to tests/tests/src/FFI.js diff --git a/jscomp/test/FFI.res b/tests/tests/src/FFI.res similarity index 100% rename from jscomp/test/FFI.res rename to tests/tests/src/FFI.res diff --git a/jscomp/test/Import.js b/tests/tests/src/Import.js similarity index 52% rename from jscomp/test/Import.js rename to tests/tests/src/Import.js index 56c5384054..5885147fd7 100644 --- a/jscomp/test/Import.js +++ b/tests/tests/src/Import.js @@ -3,11 +3,11 @@ async function eachIntAsync(list, f) { - return (await import("../../lib/js/belt_List.js").then(m => m.forEach))(list, f); + return (await import("rescript/lib/js/belt_List.js").then(m => m.forEach))(list, f); } function eachIntLazy(list, f) { - return import("../../lib/js/belt_List.js").then(m => m.forEach).then(each => Promise.resolve(each(list, f))); + return import("rescript/lib/js/belt_List.js").then(m => m.forEach).then(each => Promise.resolve(each(list, f))); } eachIntLazy({ @@ -36,13 +36,13 @@ eachIntAsync({ console.log("async", n); }); -let beltAsModule = await import("../../lib/js/belt_List.js"); +let beltAsModule = await import("rescript/lib/js/belt_List.js"); -let M = await import("../../lib/js/belt_List.js"); +let M = await import("rescript/lib/js/belt_List.js"); -let N0 = await import("../../lib/js/belt_List.js"); +let N0 = await import("rescript/lib/js/belt_List.js"); -let O = await import("../../lib/js/belt_List.js"); +let O = await import("rescript/lib/js/belt_List.js"); let N1_each = O.forEach; @@ -51,7 +51,7 @@ let N1 = { each: N1_each }; -let N2 = await import("../../lib/js/belt_List.js"); +let N2 = await import("rescript/lib/js/belt_List.js"); let N_each = N2.forEach; @@ -62,21 +62,21 @@ let N = { each: N_each }; -let M0 = await import("../../lib/js/belt_List.js"); +let M0 = await import("rescript/lib/js/belt_List.js"); -let M1 = await import("../../lib/js/belt_List.js"); +let M1 = await import("rescript/lib/js/belt_List.js"); async function f() { - return (await import("../../lib/js/belt_List.js")).forEach; + return (await import("rescript/lib/js/belt_List.js")).forEach; } async function f1() { - return (await import("../../lib/js/belt_List.js")).forEach; + return (await import("rescript/lib/js/belt_List.js")).forEach; } async function f2() { - let M3 = await import("../../lib/js/belt_List.js"); - let M4 = await import("../../lib/js/belt_List.js"); + let M3 = await import("rescript/lib/js/belt_List.js"); + let M4 = await import("rescript/lib/js/belt_List.js"); return [ M3.forEach, M4.forEach @@ -84,8 +84,8 @@ async function f2() { } async function f3() { - let M3 = await import("../../lib/js/belt_List.js"); - let M4 = await import("../../lib/js/belt_List.js"); + let M3 = await import("rescript/lib/js/belt_List.js"); + let M4 = await import("rescript/lib/js/belt_List.js"); return [ M3.forEach, M4.forEach @@ -93,12 +93,12 @@ async function f3() { } async function f4() { - return (await import("../../lib/js/belt_Array.js")).forEach; + return (await import("rescript/lib/js/belt_Array.js")).forEach; } async function f5() { - let A = await import("../../lib/js/belt_Array.js"); - let O = await import("../../lib/js/belt_Option.js"); + let A = await import("rescript/lib/js/belt_Array.js"); + let O = await import("rescript/lib/js/belt_Option.js"); return [ A.forEach, O.forEach @@ -106,8 +106,8 @@ async function f5() { } async function f6() { - let MS = await import("../../lib/js/belt_MapString.js"); - let A = await import("../../lib/js/belt_Array.js"); + let MS = await import("rescript/lib/js/belt_MapString.js"); + let A = await import("rescript/lib/js/belt_Array.js"); return [ 0, MS.forEach, @@ -116,7 +116,7 @@ async function f6() { } async function f7() { - await import("../../lib/js/belt_MapInt.js"); + await import("rescript/lib/js/belt_MapInt.js"); return 1; } diff --git a/jscomp/test/Import.res b/tests/tests/src/Import.res similarity index 100% rename from jscomp/test/Import.res rename to tests/tests/src/Import.res diff --git a/jscomp/test/PartialApplicationNoRuntimeCurry.js b/tests/tests/src/PartialApplicationNoRuntimeCurry.js similarity index 100% rename from jscomp/test/PartialApplicationNoRuntimeCurry.js rename to tests/tests/src/PartialApplicationNoRuntimeCurry.js diff --git a/jscomp/test/PartialApplicationNoRuntimeCurry.res b/tests/tests/src/PartialApplicationNoRuntimeCurry.res similarity index 100% rename from jscomp/test/PartialApplicationNoRuntimeCurry.res rename to tests/tests/src/PartialApplicationNoRuntimeCurry.res diff --git a/jscomp/test/RecordCoercion.js b/tests/tests/src/RecordCoercion.js similarity index 100% rename from jscomp/test/RecordCoercion.js rename to tests/tests/src/RecordCoercion.js diff --git a/jscomp/test/RecordCoercion.res b/tests/tests/src/RecordCoercion.res similarity index 100% rename from jscomp/test/RecordCoercion.res rename to tests/tests/src/RecordCoercion.res diff --git a/jscomp/test/RecordOrObject.js b/tests/tests/src/RecordOrObject.js similarity index 100% rename from jscomp/test/RecordOrObject.js rename to tests/tests/src/RecordOrObject.js diff --git a/jscomp/test/RecordOrObject.res b/tests/tests/src/RecordOrObject.res similarity index 100% rename from jscomp/test/RecordOrObject.res rename to tests/tests/src/RecordOrObject.res diff --git a/jscomp/test/SafePromises.js b/tests/tests/src/SafePromises.js similarity index 91% rename from jscomp/test/SafePromises.js rename to tests/tests/src/SafePromises.js index 91227a4005..3dd5d546de 100644 --- a/jscomp/test/SafePromises.js +++ b/tests/tests/src/SafePromises.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Js_promise2 = require("../../lib/js/js_promise2.js"); +let Js_promise2 = require("rescript/lib/js/js_promise2.js"); async function nestedPromise(xxx) { let xx = await xxx; diff --git a/jscomp/test/SafePromises.res b/tests/tests/src/SafePromises.res similarity index 100% rename from jscomp/test/SafePromises.res rename to tests/tests/src/SafePromises.res diff --git a/jscomp/test/UncurriedAlways.js b/tests/tests/src/UncurriedAlways.js similarity index 100% rename from jscomp/test/UncurriedAlways.js rename to tests/tests/src/UncurriedAlways.js diff --git a/jscomp/test/UncurriedAlways.res b/tests/tests/src/UncurriedAlways.res similarity index 100% rename from jscomp/test/UncurriedAlways.res rename to tests/tests/src/UncurriedAlways.res diff --git a/jscomp/test/UncurriedExternals.js b/tests/tests/src/UncurriedExternals.js similarity index 100% rename from jscomp/test/UncurriedExternals.js rename to tests/tests/src/UncurriedExternals.js diff --git a/jscomp/test/UncurriedExternals.res b/tests/tests/src/UncurriedExternals.res similarity index 100% rename from jscomp/test/UncurriedExternals.res rename to tests/tests/src/UncurriedExternals.res diff --git a/jscomp/test/UncurriedPervasives.js b/tests/tests/src/UncurriedPervasives.js similarity index 100% rename from jscomp/test/UncurriedPervasives.js rename to tests/tests/src/UncurriedPervasives.js diff --git a/jscomp/test/UncurriedPervasives.res b/tests/tests/src/UncurriedPervasives.res similarity index 100% rename from jscomp/test/UncurriedPervasives.res rename to tests/tests/src/UncurriedPervasives.res diff --git a/jscomp/test/UntaggedVariants.js b/tests/tests/src/UntaggedVariants.js similarity index 97% rename from jscomp/test/UntaggedVariants.js rename to tests/tests/src/UntaggedVariants.js index 90742769e6..1838e40c11 100644 --- a/jscomp/test/UntaggedVariants.js +++ b/tests/tests/src/UntaggedVariants.js @@ -1,10 +1,10 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Js_dict = require("../../lib/js/js_dict.js"); -let Belt_Array = require("../../lib/js/belt_Array.js"); -let Primitive_array = require("../../lib/js/primitive_array.js"); -let Primitive_option = require("../../lib/js/primitive_option.js"); +let Js_dict = require("rescript/lib/js/js_dict.js"); +let Belt_Array = require("rescript/lib/js/belt_Array.js"); +let Primitive_array = require("rescript/lib/js/primitive_array.js"); +let Primitive_option = require("rescript/lib/js/primitive_option.js"); function classify(x) { if (x === "A" && typeof x !== "number") { diff --git a/jscomp/test/UntaggedVariants.res b/tests/tests/src/UntaggedVariants.res similarity index 100% rename from jscomp/test/UntaggedVariants.res rename to tests/tests/src/UntaggedVariants.res diff --git a/jscomp/test/VariantCoercion.js b/tests/tests/src/VariantCoercion.js similarity index 100% rename from jscomp/test/VariantCoercion.js rename to tests/tests/src/VariantCoercion.js diff --git a/jscomp/test/VariantCoercion.res b/tests/tests/src/VariantCoercion.res similarity index 100% rename from jscomp/test/VariantCoercion.res rename to tests/tests/src/VariantCoercion.res diff --git a/jscomp/test/VariantPatternMatchingSpreads.js b/tests/tests/src/VariantPatternMatchingSpreads.js similarity index 100% rename from jscomp/test/VariantPatternMatchingSpreads.js rename to tests/tests/src/VariantPatternMatchingSpreads.js diff --git a/jscomp/test/VariantPatternMatchingSpreads.res b/tests/tests/src/VariantPatternMatchingSpreads.res similarity index 100% rename from jscomp/test/VariantPatternMatchingSpreads.res rename to tests/tests/src/VariantPatternMatchingSpreads.res diff --git a/jscomp/test/VariantPatternMatchingSpreadsWithPayloads.js b/tests/tests/src/VariantPatternMatchingSpreadsWithPayloads.js similarity index 100% rename from jscomp/test/VariantPatternMatchingSpreadsWithPayloads.js rename to tests/tests/src/VariantPatternMatchingSpreadsWithPayloads.js diff --git a/jscomp/test/VariantPatternMatchingSpreadsWithPayloads.res b/tests/tests/src/VariantPatternMatchingSpreadsWithPayloads.res similarity index 100% rename from jscomp/test/VariantPatternMatchingSpreadsWithPayloads.res rename to tests/tests/src/VariantPatternMatchingSpreadsWithPayloads.res diff --git a/jscomp/test/VariantSpreads.js b/tests/tests/src/VariantSpreads.js similarity index 100% rename from jscomp/test/VariantSpreads.js rename to tests/tests/src/VariantSpreads.js diff --git a/jscomp/test/VariantSpreads.res b/tests/tests/src/VariantSpreads.res similarity index 100% rename from jscomp/test/VariantSpreads.res rename to tests/tests/src/VariantSpreads.res diff --git a/jscomp/test/a.js b/tests/tests/src/a.js similarity index 100% rename from jscomp/test/a.js rename to tests/tests/src/a.js diff --git a/jscomp/test/a.res b/tests/tests/src/a.res similarity index 100% rename from jscomp/test/a.res rename to tests/tests/src/a.res diff --git a/jscomp/test/a_recursive_type.js b/tests/tests/src/a_recursive_type.js similarity index 100% rename from jscomp/test/a_recursive_type.js rename to tests/tests/src/a_recursive_type.js diff --git a/jscomp/test/a_recursive_type.res b/tests/tests/src/a_recursive_type.res similarity index 100% rename from jscomp/test/a_recursive_type.res rename to tests/tests/src/a_recursive_type.res diff --git a/jscomp/test/a_recursive_type.resi b/tests/tests/src/a_recursive_type.resi similarity index 100% rename from jscomp/test/a_recursive_type.resi rename to tests/tests/src/a_recursive_type.resi diff --git a/jscomp/test/a_scope_bug.js b/tests/tests/src/a_scope_bug.js similarity index 100% rename from jscomp/test/a_scope_bug.js rename to tests/tests/src/a_scope_bug.js diff --git a/jscomp/test/a_scope_bug.res b/tests/tests/src/a_scope_bug.res similarity index 100% rename from jscomp/test/a_scope_bug.res rename to tests/tests/src/a_scope_bug.res diff --git a/jscomp/test/abstract_type.js b/tests/tests/src/abstract_type.js similarity index 100% rename from jscomp/test/abstract_type.js rename to tests/tests/src/abstract_type.js diff --git a/jscomp/test/abstract_type.res b/tests/tests/src/abstract_type.res similarity index 100% rename from jscomp/test/abstract_type.res rename to tests/tests/src/abstract_type.res diff --git a/jscomp/test/abstract_type.resi b/tests/tests/src/abstract_type.resi similarity index 100% rename from jscomp/test/abstract_type.resi rename to tests/tests/src/abstract_type.resi diff --git a/jscomp/test/es6_export.js b/tests/tests/src/acyc/a0_a1.js similarity index 53% rename from jscomp/test/es6_export.js rename to tests/tests/src/acyc/a0_a1.js index b3edc62b7a..e49a9a2be3 100644 --- a/jscomp/test/es6_export.js +++ b/tests/tests/src/acyc/a0_a1.js @@ -2,8 +2,7 @@ 'use strict'; -let $$default = 3; +let v = 3; -exports.default = $$default; -exports.__esModule = true; +exports.v = v; /* No side effect */ diff --git a/jscomp/test/acyc/a0_a1.res b/tests/tests/src/acyc/a0_a1.res similarity index 100% rename from jscomp/test/acyc/a0_a1.res rename to tests/tests/src/acyc/a0_a1.res diff --git a/tests/tests/src/acyc/a1_a2.js b/tests/tests/src/acyc/a1_a2.js new file mode 100644 index 0000000000..9b230e3fea --- /dev/null +++ b/tests/tests/src/acyc/a1_a2.js @@ -0,0 +1,9 @@ +// Generated by ReScript, PLEASE EDIT WITH CARE +'use strict'; + +let A0_a1 = require("./a0_a1.js"); + +let v = A0_a1.v; + +exports.v = v; +/* No side effect */ diff --git a/jscomp/test/acyc/a1_a2.res b/tests/tests/src/acyc/a1_a2.res similarity index 100% rename from jscomp/test/acyc/a1_a2.res rename to tests/tests/src/acyc/a1_a2.res diff --git a/jscomp/test/acyc/a1_a2.resi b/tests/tests/src/acyc/a1_a2.resi similarity index 100% rename from jscomp/test/acyc/a1_a2.resi rename to tests/tests/src/acyc/a1_a2.resi diff --git a/tests/tests/src/acyc/a2_a3.js b/tests/tests/src/acyc/a2_a3.js new file mode 100644 index 0000000000..e3e41ff5af --- /dev/null +++ b/tests/tests/src/acyc/a2_a3.js @@ -0,0 +1,9 @@ +// Generated by ReScript, PLEASE EDIT WITH CARE +'use strict'; + +let A1_a2 = require("./a1_a2.js"); + +let v = A1_a2.v; + +exports.v = v; +/* No side effect */ diff --git a/jscomp/test/acyc/a2_a3.res b/tests/tests/src/acyc/a2_a3.res similarity index 100% rename from jscomp/test/acyc/a2_a3.res rename to tests/tests/src/acyc/a2_a3.res diff --git a/tests/tests/src/acyc/a3_a4.js b/tests/tests/src/acyc/a3_a4.js new file mode 100644 index 0000000000..c638a7135e --- /dev/null +++ b/tests/tests/src/acyc/a3_a4.js @@ -0,0 +1,9 @@ +// Generated by ReScript, PLEASE EDIT WITH CARE +'use strict'; + +let A2_a3 = require("./a2_a3.js"); + +let v = A2_a3.v; + +exports.v = v; +/* No side effect */ diff --git a/jscomp/test/acyc/a3_a4.res b/tests/tests/src/acyc/a3_a4.res similarity index 100% rename from jscomp/test/acyc/a3_a4.res rename to tests/tests/src/acyc/a3_a4.res diff --git a/jscomp/test/es6_import.js b/tests/tests/src/acyc/a4_a5.js similarity index 50% rename from jscomp/test/es6_import.js rename to tests/tests/src/acyc/a4_a5.js index a196ed1ef7..894b72a8b3 100644 --- a/jscomp/test/es6_import.js +++ b/tests/tests/src/acyc/a4_a5.js @@ -1,8 +1,11 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Es6_export = require("./es6_export.js"); +let A3_a4 = require("./a3_a4.js"); -console.log(Es6_export.default); +console.log(A3_a4.v); +let v = A3_a4.v; + +exports.v = v; /* Not a pure module */ diff --git a/jscomp/test/acyc/a4_a5.res b/tests/tests/src/acyc/a4_a5.res similarity index 100% rename from jscomp/test/acyc/a4_a5.res rename to tests/tests/src/acyc/a4_a5.res diff --git a/tests/tests/src/acyc/x.js b/tests/tests/src/acyc/x.js new file mode 100644 index 0000000000..38508a0f7e --- /dev/null +++ b/tests/tests/src/acyc/x.js @@ -0,0 +1,32 @@ +// Generated by ReScript, PLEASE EDIT WITH CARE +'use strict'; + + +let A0_a1 = { + v: 3 +}; + +let A1_a2 = { + v: 3 +}; + +let A2_a3 = { + v: 3 +}; + +let A3_a4 = { + v: 3 +}; + +console.log(3); + +let A4_a5 = { + v: 3 +}; + +exports.A0_a1 = A0_a1; +exports.A1_a2 = A1_a2; +exports.A2_a3 = A2_a3; +exports.A3_a4 = A3_a4; +exports.A4_a5 = A4_a5; +/* Not a pure module */ diff --git a/jscomp/test/acyc/x.res b/tests/tests/src/acyc/x.res similarity index 100% rename from jscomp/test/acyc/x.res rename to tests/tests/src/acyc/x.res diff --git a/jscomp/test/adt_optimize_test.js b/tests/tests/src/adt_optimize_test.js similarity index 100% rename from jscomp/test/adt_optimize_test.js rename to tests/tests/src/adt_optimize_test.js diff --git a/jscomp/test/adt_optimize_test.res b/tests/tests/src/adt_optimize_test.res similarity index 100% rename from jscomp/test/adt_optimize_test.res rename to tests/tests/src/adt_optimize_test.res diff --git a/jscomp/test/alias_default_value_test.js b/tests/tests/src/alias_default_value_test.js similarity index 100% rename from jscomp/test/alias_default_value_test.js rename to tests/tests/src/alias_default_value_test.js diff --git a/jscomp/test/alias_default_value_test.res b/tests/tests/src/alias_default_value_test.res similarity index 100% rename from jscomp/test/alias_default_value_test.res rename to tests/tests/src/alias_default_value_test.res diff --git a/jscomp/test/alias_test.js b/tests/tests/src/alias_test.js similarity index 100% rename from jscomp/test/alias_test.js rename to tests/tests/src/alias_test.js diff --git a/jscomp/test/alias_test.res b/tests/tests/src/alias_test.res similarity index 100% rename from jscomp/test/alias_test.res rename to tests/tests/src/alias_test.res diff --git a/jscomp/test/alias_test.resi b/tests/tests/src/alias_test.resi similarity index 100% rename from jscomp/test/alias_test.resi rename to tests/tests/src/alias_test.resi diff --git a/jscomp/test/and_or_tailcall_test.js b/tests/tests/src/and_or_tailcall_test.js similarity index 100% rename from jscomp/test/and_or_tailcall_test.js rename to tests/tests/src/and_or_tailcall_test.js diff --git a/jscomp/test/and_or_tailcall_test.res b/tests/tests/src/and_or_tailcall_test.res similarity index 100% rename from jscomp/test/and_or_tailcall_test.res rename to tests/tests/src/and_or_tailcall_test.res diff --git a/jscomp/test/ari_regress_test.js b/tests/tests/src/ari_regress_test.js similarity index 100% rename from jscomp/test/ari_regress_test.js rename to tests/tests/src/ari_regress_test.js diff --git a/jscomp/test/ari_regress_test.res b/tests/tests/src/ari_regress_test.res similarity index 100% rename from jscomp/test/ari_regress_test.res rename to tests/tests/src/ari_regress_test.res diff --git a/jscomp/test/ari_regress_test.resi b/tests/tests/src/ari_regress_test.resi similarity index 100% rename from jscomp/test/ari_regress_test.resi rename to tests/tests/src/ari_regress_test.resi diff --git a/jscomp/test/arith_syntax.js b/tests/tests/src/arith_syntax.js similarity index 100% rename from jscomp/test/arith_syntax.js rename to tests/tests/src/arith_syntax.js diff --git a/jscomp/test/arith_syntax.res b/tests/tests/src/arith_syntax.res similarity index 100% rename from jscomp/test/arith_syntax.res rename to tests/tests/src/arith_syntax.res diff --git a/jscomp/test/arity.js b/tests/tests/src/arity.js similarity index 100% rename from jscomp/test/arity.js rename to tests/tests/src/arity.js diff --git a/jscomp/test/arity.res b/tests/tests/src/arity.res similarity index 100% rename from jscomp/test/arity.res rename to tests/tests/src/arity.res diff --git a/jscomp/test/arity_deopt.js b/tests/tests/src/arity_deopt.js similarity index 100% rename from jscomp/test/arity_deopt.js rename to tests/tests/src/arity_deopt.js diff --git a/jscomp/test/arity_deopt.res b/tests/tests/src/arity_deopt.res similarity index 100% rename from jscomp/test/arity_deopt.res rename to tests/tests/src/arity_deopt.res diff --git a/jscomp/test/arity_infer.js b/tests/tests/src/arity_infer.js similarity index 100% rename from jscomp/test/arity_infer.js rename to tests/tests/src/arity_infer.js diff --git a/jscomp/test/arity_infer.res b/tests/tests/src/arity_infer.res similarity index 100% rename from jscomp/test/arity_infer.res rename to tests/tests/src/arity_infer.res diff --git a/jscomp/test/array_data_util.js b/tests/tests/src/array_data_util.js similarity index 87% rename from jscomp/test/array_data_util.js rename to tests/tests/src/array_data_util.js index 98acf7b5e8..116c5fb388 100644 --- a/jscomp/test/array_data_util.js +++ b/tests/tests/src/array_data_util.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_Array = require("../../lib/js/belt_Array.js"); +let Belt_Array = require("rescript/lib/js/belt_Array.js"); function range(i, j) { return Belt_Array.makeBy((j - i | 0) + 1 | 0, k => k + i | 0); diff --git a/jscomp/test/array_data_util.res b/tests/tests/src/array_data_util.res similarity index 100% rename from jscomp/test/array_data_util.res rename to tests/tests/src/array_data_util.res diff --git a/jscomp/test/array_safe_get.js b/tests/tests/src/array_safe_get.js similarity index 72% rename from jscomp/test/array_safe_get.js rename to tests/tests/src/array_safe_get.js index 0aea7466e0..9fefbd4e19 100644 --- a/jscomp/test/array_safe_get.js +++ b/tests/tests/src/array_safe_get.js @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Primitive_array = require("../../lib/js/primitive_array.js"); -let Primitive_exceptions = require("../../lib/js/primitive_exceptions.js"); +let Primitive_array = require("rescript/lib/js/primitive_array.js"); +let Primitive_exceptions = require("rescript/lib/js/primitive_exceptions.js"); let x = [ 1, diff --git a/jscomp/test/array_safe_get.res b/tests/tests/src/array_safe_get.res similarity index 100% rename from jscomp/test/array_safe_get.res rename to tests/tests/src/array_safe_get.res diff --git a/jscomp/test/array_subtle_test.js b/tests/tests/src/array_subtle_test.js similarity index 96% rename from jscomp/test/array_subtle_test.js rename to tests/tests/src/array_subtle_test.js index 551e03d747..2a9c3c3769 100644 --- a/jscomp/test/array_subtle_test.js +++ b/tests/tests/src/array_subtle_test.js @@ -2,7 +2,7 @@ 'use strict'; let Mt = require("./mt.js"); -let Primitive_array = require("../../lib/js/primitive_array.js"); +let Primitive_array = require("rescript/lib/js/primitive_array.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/array_subtle_test.res b/tests/tests/src/array_subtle_test.res similarity index 100% rename from jscomp/test/array_subtle_test.res rename to tests/tests/src/array_subtle_test.res diff --git a/jscomp/test/as_inline_record_test.js b/tests/tests/src/as_inline_record_test.js similarity index 100% rename from jscomp/test/as_inline_record_test.js rename to tests/tests/src/as_inline_record_test.js diff --git a/jscomp/test/as_inline_record_test.res b/tests/tests/src/as_inline_record_test.res similarity index 100% rename from jscomp/test/as_inline_record_test.res rename to tests/tests/src/as_inline_record_test.res diff --git a/jscomp/test/ast_abstract_test.js b/tests/tests/src/ast_abstract_test.js similarity index 95% rename from jscomp/test/ast_abstract_test.js rename to tests/tests/src/ast_abstract_test.js index 88aae8310f..9aaee2a8e7 100644 --- a/jscomp/test/ast_abstract_test.js +++ b/tests/tests/src/ast_abstract_test.js @@ -2,7 +2,7 @@ 'use strict'; let Mt = require("./mt.js"); -let Primitive_util = require("../../lib/js/primitive_util.js"); +let Primitive_util = require("rescript/lib/js/primitive_util.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/ast_abstract_test.res b/tests/tests/src/ast_abstract_test.res similarity index 100% rename from jscomp/test/ast_abstract_test.res rename to tests/tests/src/ast_abstract_test.res diff --git a/jscomp/test/ast_mapper_unused_warning_test.js b/tests/tests/src/ast_mapper_unused_warning_test.js similarity index 100% rename from jscomp/test/ast_mapper_unused_warning_test.js rename to tests/tests/src/ast_mapper_unused_warning_test.js diff --git a/jscomp/test/ast_mapper_unused_warning_test.res b/tests/tests/src/ast_mapper_unused_warning_test.res similarity index 100% rename from jscomp/test/ast_mapper_unused_warning_test.res rename to tests/tests/src/ast_mapper_unused_warning_test.res diff --git a/jscomp/test/async_await.js b/tests/tests/src/async_await.js similarity index 91% rename from jscomp/test/async_await.js rename to tests/tests/src/async_await.js index 7b2eb2411c..b2af8c7bcf 100644 --- a/jscomp/test/async_await.js +++ b/tests/tests/src/async_await.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Primitive_array = require("../../lib/js/primitive_array.js"); +let Primitive_array = require("rescript/lib/js/primitive_array.js"); function next(n) { return n + 1 | 0; diff --git a/jscomp/test/async_await.res b/tests/tests/src/async_await.res similarity index 100% rename from jscomp/test/async_await.res rename to tests/tests/src/async_await.res diff --git a/jscomp/test/async_inline.js b/tests/tests/src/async_inline.js similarity index 100% rename from jscomp/test/async_inline.js rename to tests/tests/src/async_inline.js diff --git a/jscomp/test/async_inline.res b/tests/tests/src/async_inline.res similarity index 100% rename from jscomp/test/async_inline.res rename to tests/tests/src/async_inline.res diff --git a/jscomp/test/async_inside_loop.js b/tests/tests/src/async_inside_loop.js similarity index 100% rename from jscomp/test/async_inside_loop.js rename to tests/tests/src/async_inside_loop.js diff --git a/jscomp/test/async_inside_loop.res b/tests/tests/src/async_inside_loop.res similarity index 100% rename from jscomp/test/async_inside_loop.res rename to tests/tests/src/async_inside_loop.res diff --git a/jscomp/test/attr_test.js b/tests/tests/src/attr_test.js similarity index 100% rename from jscomp/test/attr_test.js rename to tests/tests/src/attr_test.js diff --git a/jscomp/test/attr_test.res b/tests/tests/src/attr_test.res similarity index 100% rename from jscomp/test/attr_test.res rename to tests/tests/src/attr_test.res diff --git a/jscomp/test/b.js b/tests/tests/src/b.js similarity index 100% rename from jscomp/test/b.js rename to tests/tests/src/b.js diff --git a/jscomp/test/b.res b/tests/tests/src/b.res similarity index 100% rename from jscomp/test/b.res rename to tests/tests/src/b.res diff --git a/jscomp/test/bal_set_mini.js b/tests/tests/src/bal_set_mini.js similarity index 100% rename from jscomp/test/bal_set_mini.js rename to tests/tests/src/bal_set_mini.js diff --git a/jscomp/test/bal_set_mini.res b/tests/tests/src/bal_set_mini.res similarity index 100% rename from jscomp/test/bal_set_mini.res rename to tests/tests/src/bal_set_mini.res diff --git a/jscomp/test/bb.js b/tests/tests/src/bb.js similarity index 100% rename from jscomp/test/bb.js rename to tests/tests/src/bb.js diff --git a/jscomp/test/bb.res b/tests/tests/src/bb.res similarity index 100% rename from jscomp/test/bb.res rename to tests/tests/src/bb.res diff --git a/jscomp/test/bdd.js b/tests/tests/src/bdd.js similarity index 98% rename from jscomp/test/bdd.js rename to tests/tests/src/bdd.js index 682c45eb8f..7c4d7df8ac 100644 --- a/jscomp/test/bdd.js +++ b/tests/tests/src/bdd.js @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_Array = require("../../lib/js/belt_Array.js"); -let Primitive_array = require("../../lib/js/primitive_array.js"); +let Belt_Array = require("rescript/lib/js/belt_Array.js"); +let Primitive_array = require("rescript/lib/js/primitive_array.js"); function $$eval(_bdd, vars) { while (true) { diff --git a/jscomp/test/bdd.res b/tests/tests/src/bdd.res similarity index 100% rename from jscomp/test/bdd.res rename to tests/tests/src/bdd.res diff --git a/jscomp/test/belt_float_ntest.js b/tests/tests/src/belt_float_ntest.js similarity index 97% rename from jscomp/test/belt_float_ntest.js rename to tests/tests/src/belt_float_ntest.js index 56b319fa82..d1f0f15fa1 100644 --- a/jscomp/test/belt_float_ntest.js +++ b/tests/tests/src/belt_float_ntest.js @@ -2,7 +2,7 @@ 'use strict'; let Nodetest = require("node:test"); -let Belt_Float = require("../../lib/js/belt_Float.js"); +let Belt_Float = require("rescript/lib/js/belt_Float.js"); let Node_test_util = require("./node_test_util.js"); Nodetest.describe("Belt.Float", () => { diff --git a/jscomp/test/belt_float_ntest.res b/tests/tests/src/belt_float_ntest.res similarity index 100% rename from jscomp/test/belt_float_ntest.res rename to tests/tests/src/belt_float_ntest.res diff --git a/jscomp/test/belt_hashmap_ntest.js b/tests/tests/src/belt_hashmap_ntest.js similarity index 86% rename from jscomp/test/belt_hashmap_ntest.js rename to tests/tests/src/belt_hashmap_ntest.js index 682771daab..1887faf7a7 100644 --- a/jscomp/test/belt_hashmap_ntest.js +++ b/tests/tests/src/belt_hashmap_ntest.js @@ -1,15 +1,15 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Hashtbl = require("../../lib/js/hashtbl.js"); +let Hashtbl = require("rescript/lib/js/hashtbl.js"); let Nodetest = require("node:test"); -let Belt_Array = require("../../lib/js/belt_Array.js"); -let Belt_HashMap = require("../../lib/js/belt_HashMap.js"); -let Primitive_int = require("../../lib/js/primitive_int.js"); -let Belt_SortArray = require("../../lib/js/belt_SortArray.js"); +let Belt_Array = require("rescript/lib/js/belt_Array.js"); +let Belt_HashMap = require("rescript/lib/js/belt_HashMap.js"); +let Primitive_int = require("rescript/lib/js/primitive_int.js"); +let Belt_SortArray = require("rescript/lib/js/belt_SortArray.js"); let Node_test_util = require("./node_test_util.js"); let Array_data_util = require("./array_data_util.js"); -let Belt_internalBucketsType = require("../../lib/js/belt_internalBucketsType.js"); +let Belt_internalBucketsType = require("rescript/lib/js/belt_internalBucketsType.js"); function intEq(x, y) { return x === y; diff --git a/jscomp/test/belt_hashmap_ntest.res b/tests/tests/src/belt_hashmap_ntest.res similarity index 100% rename from jscomp/test/belt_hashmap_ntest.res rename to tests/tests/src/belt_hashmap_ntest.res diff --git a/jscomp/test/belt_hashset_int_ntest.js b/tests/tests/src/belt_hashset_int_ntest.js similarity index 90% rename from jscomp/test/belt_hashset_int_ntest.js rename to tests/tests/src/belt_hashset_int_ntest.js index 39840aab67..26389e00e7 100644 --- a/jscomp/test/belt_hashset_int_ntest.js +++ b/tests/tests/src/belt_hashset_int_ntest.js @@ -2,13 +2,13 @@ 'use strict'; let Nodetest = require("node:test"); -let Belt_Array = require("../../lib/js/belt_Array.js"); -let Belt_SetInt = require("../../lib/js/belt_SetInt.js"); +let Belt_Array = require("rescript/lib/js/belt_Array.js"); +let Belt_SetInt = require("rescript/lib/js/belt_SetInt.js"); let Node_test_util = require("./node_test_util.js"); let Array_data_util = require("./array_data_util.js"); -let Belt_HashSetInt = require("../../lib/js/belt_HashSetInt.js"); -let Belt_SortArrayInt = require("../../lib/js/belt_SortArrayInt.js"); -let Belt_internalBucketsType = require("../../lib/js/belt_internalBucketsType.js"); +let Belt_HashSetInt = require("rescript/lib/js/belt_HashSetInt.js"); +let Belt_SortArrayInt = require("rescript/lib/js/belt_SortArrayInt.js"); +let Belt_internalBucketsType = require("rescript/lib/js/belt_internalBucketsType.js"); function add(x, y) { return x + y | 0; diff --git a/jscomp/test/belt_hashset_int_ntest.res b/tests/tests/src/belt_hashset_int_ntest.res similarity index 100% rename from jscomp/test/belt_hashset_int_ntest.res rename to tests/tests/src/belt_hashset_int_ntest.res diff --git a/jscomp/test/belt_int_ntest.js b/tests/tests/src/belt_int_ntest.js similarity index 97% rename from jscomp/test/belt_int_ntest.js rename to tests/tests/src/belt_int_ntest.js index 76f5247b36..861d566cd9 100644 --- a/jscomp/test/belt_int_ntest.js +++ b/tests/tests/src/belt_int_ntest.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_Int = require("../../lib/js/belt_Int.js"); +let Belt_Int = require("rescript/lib/js/belt_Int.js"); let Nodetest = require("node:test"); let Node_test_util = require("./node_test_util.js"); diff --git a/jscomp/test/belt_int_ntest.res b/tests/tests/src/belt_int_ntest.res similarity index 100% rename from jscomp/test/belt_int_ntest.res rename to tests/tests/src/belt_int_ntest.res diff --git a/jscomp/test/belt_internal_test.js b/tests/tests/src/belt_internal_test.js similarity index 100% rename from jscomp/test/belt_internal_test.js rename to tests/tests/src/belt_internal_test.js diff --git a/jscomp/test/belt_internal_test.res b/tests/tests/src/belt_internal_test.res similarity index 100% rename from jscomp/test/belt_internal_test.res rename to tests/tests/src/belt_internal_test.res diff --git a/jscomp/test/belt_list_ntest.js b/tests/tests/src/belt_list_ntest.js similarity index 99% rename from jscomp/test/belt_list_ntest.js rename to tests/tests/src/belt_list_ntest.js index 852f5e4527..ab71053009 100644 --- a/jscomp/test/belt_list_ntest.js +++ b/tests/tests/src/belt_list_ntest.js @@ -1,12 +1,12 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_List = require("../../lib/js/belt_List.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); let Nodetest = require("node:test"); -let Belt_Array = require("../../lib/js/belt_Array.js"); -let Primitive_int = require("../../lib/js/primitive_int.js"); +let Belt_Array = require("rescript/lib/js/belt_Array.js"); +let Primitive_int = require("rescript/lib/js/primitive_int.js"); let Node_test_util = require("./node_test_util.js"); -let Primitive_object = require("../../lib/js/primitive_object.js"); +let Primitive_object = require("rescript/lib/js/primitive_object.js"); function sum(xs) { let v = { diff --git a/jscomp/test/belt_list_ntest.res b/tests/tests/src/belt_list_ntest.res similarity index 100% rename from jscomp/test/belt_list_ntest.res rename to tests/tests/src/belt_list_ntest.res diff --git a/jscomp/test/belt_mapint_ntest.js b/tests/tests/src/belt_mapint_ntest.js similarity index 92% rename from jscomp/test/belt_mapint_ntest.js rename to tests/tests/src/belt_mapint_ntest.js index 93d3835da2..a528e1cbea 100644 --- a/jscomp/test/belt_mapint_ntest.js +++ b/tests/tests/src/belt_mapint_ntest.js @@ -2,7 +2,7 @@ 'use strict'; let Nodetest = require("node:test"); -let Belt_MapInt = require("../../lib/js/belt_MapInt.js"); +let Belt_MapInt = require("rescript/lib/js/belt_MapInt.js"); let Node_test_util = require("./node_test_util.js"); Nodetest.describe("Belt.Map.Int", () => { diff --git a/jscomp/test/belt_mapint_ntest.res b/tests/tests/src/belt_mapint_ntest.res similarity index 100% rename from jscomp/test/belt_mapint_ntest.res rename to tests/tests/src/belt_mapint_ntest.res diff --git a/jscomp/test/belt_result_alias_test.js b/tests/tests/src/belt_result_alias_test.js similarity index 81% rename from jscomp/test/belt_result_alias_test.js rename to tests/tests/src/belt_result_alias_test.js index b857620b87..ca67cae31b 100644 --- a/jscomp/test/belt_result_alias_test.js +++ b/tests/tests/src/belt_result_alias_test.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_Result = require("../../lib/js/belt_Result.js"); +let Belt_Result = require("rescript/lib/js/belt_Result.js"); Belt_Result.map({ TAG: "Ok", diff --git a/jscomp/test/belt_result_alias_test.res b/tests/tests/src/belt_result_alias_test.res similarity index 100% rename from jscomp/test/belt_result_alias_test.res rename to tests/tests/src/belt_result_alias_test.res diff --git a/jscomp/test/belt_sortarray_ntest.js b/tests/tests/src/belt_sortarray_ntest.js similarity index 97% rename from jscomp/test/belt_sortarray_ntest.js rename to tests/tests/src/belt_sortarray_ntest.js index e218b046f4..bc31fcbe64 100644 --- a/jscomp/test/belt_sortarray_ntest.js +++ b/tests/tests/src/belt_sortarray_ntest.js @@ -2,12 +2,12 @@ 'use strict'; let Nodetest = require("node:test"); -let Belt_Array = require("../../lib/js/belt_Array.js"); -let Belt_Range = require("../../lib/js/belt_Range.js"); -let Belt_SortArray = require("../../lib/js/belt_SortArray.js"); +let Belt_Array = require("rescript/lib/js/belt_Array.js"); +let Belt_Range = require("rescript/lib/js/belt_Range.js"); +let Belt_SortArray = require("rescript/lib/js/belt_SortArray.js"); let Node_test_util = require("./node_test_util.js"); let Array_data_util = require("./array_data_util.js"); -let Belt_SortArrayInt = require("../../lib/js/belt_SortArrayInt.js"); +let Belt_SortArrayInt = require("rescript/lib/js/belt_SortArrayInt.js"); function cmp(x, y) { return x - y | 0; diff --git a/jscomp/test/belt_sortarray_ntest.res b/tests/tests/src/belt_sortarray_ntest.res similarity index 100% rename from jscomp/test/belt_sortarray_ntest.res rename to tests/tests/src/belt_sortarray_ntest.res diff --git a/jscomp/test/bench.js b/tests/tests/src/bench.js similarity index 94% rename from jscomp/test/bench.js rename to tests/tests/src/bench.js index e689d018b2..90120890bf 100644 --- a/jscomp/test/bench.js +++ b/tests/tests/src/bench.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_Array = require("../../lib/js/belt_Array.js"); +let Belt_Array = require("rescript/lib/js/belt_Array.js"); function map(f, a) { let f$1 = x => f(x); diff --git a/jscomp/test/bench.res b/tests/tests/src/bench.res similarity index 100% rename from jscomp/test/bench.res rename to tests/tests/src/bench.res diff --git a/jscomp/test/big_enum.js b/tests/tests/src/big_enum.js similarity index 100% rename from jscomp/test/big_enum.js rename to tests/tests/src/big_enum.js diff --git a/jscomp/test/big_enum.res b/tests/tests/src/big_enum.res similarity index 100% rename from jscomp/test/big_enum.res rename to tests/tests/src/big_enum.res diff --git a/jscomp/test/big_polyvar_test.js b/tests/tests/src/big_polyvar_test.js similarity index 100% rename from jscomp/test/big_polyvar_test.js rename to tests/tests/src/big_polyvar_test.js diff --git a/jscomp/test/big_polyvar_test.res b/tests/tests/src/big_polyvar_test.res similarity index 100% rename from jscomp/test/big_polyvar_test.res rename to tests/tests/src/big_polyvar_test.res diff --git a/jscomp/test/bigint_test.js b/tests/tests/src/bigint_test.js similarity index 97% rename from jscomp/test/bigint_test.js rename to tests/tests/src/bigint_test.js index 8dc3a51681..d12969b47a 100644 --- a/jscomp/test/bigint_test.js +++ b/tests/tests/src/bigint_test.js @@ -3,8 +3,8 @@ let Mt = require("./mt.js"); let Mt_global = require("./mt_global.js"); -let Primitive_bigint = require("../../lib/js/primitive_bigint.js"); -let Primitive_object = require("../../lib/js/primitive_object.js"); +let Primitive_bigint = require("rescript/lib/js/primitive_bigint.js"); +let Primitive_object = require("rescript/lib/js/primitive_object.js"); let test_id = { contents: 0 diff --git a/jscomp/test/bigint_test.res b/tests/tests/src/bigint_test.res similarity index 100% rename from jscomp/test/bigint_test.res rename to tests/tests/src/bigint_test.res diff --git a/jscomp/test/block_alias_test.js b/tests/tests/src/block_alias_test.js similarity index 90% rename from jscomp/test/block_alias_test.js rename to tests/tests/src/block_alias_test.js index 7fd98257ae..4848daa593 100644 --- a/jscomp/test/block_alias_test.js +++ b/tests/tests/src/block_alias_test.js @@ -2,8 +2,8 @@ 'use strict'; let Mt = require("./mt.js"); -let Belt_List = require("../../lib/js/belt_List.js"); -let Primitive_object = require("../../lib/js/primitive_object.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); +let Primitive_object = require("rescript/lib/js/primitive_object.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/block_alias_test.res b/tests/tests/src/block_alias_test.res similarity index 100% rename from jscomp/test/block_alias_test.res rename to tests/tests/src/block_alias_test.res diff --git a/jscomp/test/boolean_test.js b/tests/tests/src/boolean_test.js similarity index 100% rename from jscomp/test/boolean_test.js rename to tests/tests/src/boolean_test.js diff --git a/jscomp/test/boolean_test.res b/tests/tests/src/boolean_test.res similarity index 100% rename from jscomp/test/boolean_test.res rename to tests/tests/src/boolean_test.res diff --git a/jscomp/test/bs_abstract_test.js b/tests/tests/src/bs_abstract_test.js similarity index 100% rename from jscomp/test/bs_abstract_test.js rename to tests/tests/src/bs_abstract_test.js diff --git a/jscomp/test/bs_abstract_test.res b/tests/tests/src/bs_abstract_test.res similarity index 100% rename from jscomp/test/bs_abstract_test.res rename to tests/tests/src/bs_abstract_test.res diff --git a/jscomp/test/bs_abstract_test.resi b/tests/tests/src/bs_abstract_test.resi similarity index 100% rename from jscomp/test/bs_abstract_test.resi rename to tests/tests/src/bs_abstract_test.resi diff --git a/jscomp/test/bs_array_test.js b/tests/tests/src/bs_array_test.js similarity index 98% rename from jscomp/test/bs_array_test.js rename to tests/tests/src/bs_array_test.js index d5cb3693b8..6fa8827904 100644 --- a/jscomp/test/bs_array_test.js +++ b/tests/tests/src/bs_array_test.js @@ -2,10 +2,10 @@ 'use strict'; let Mt = require("./mt.js"); -let Belt_List = require("../../lib/js/belt_List.js"); -let Belt_Array = require("../../lib/js/belt_Array.js"); -let Primitive_int = require("../../lib/js/primitive_int.js"); -let Primitive_object = require("../../lib/js/primitive_object.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); +let Belt_Array = require("rescript/lib/js/belt_Array.js"); +let Primitive_int = require("rescript/lib/js/primitive_int.js"); +let Primitive_object = require("rescript/lib/js/primitive_object.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/bs_array_test.res b/tests/tests/src/bs_array_test.res similarity index 100% rename from jscomp/test/bs_array_test.res rename to tests/tests/src/bs_array_test.res diff --git a/jscomp/test/bs_auto_uncurry.js b/tests/tests/src/bs_auto_uncurry.js similarity index 100% rename from jscomp/test/bs_auto_uncurry.js rename to tests/tests/src/bs_auto_uncurry.js diff --git a/jscomp/test/bs_auto_uncurry.res b/tests/tests/src/bs_auto_uncurry.res similarity index 100% rename from jscomp/test/bs_auto_uncurry.res rename to tests/tests/src/bs_auto_uncurry.res diff --git a/jscomp/test/bs_auto_uncurry_test.js b/tests/tests/src/bs_auto_uncurry_test.js similarity index 100% rename from jscomp/test/bs_auto_uncurry_test.js rename to tests/tests/src/bs_auto_uncurry_test.js diff --git a/jscomp/test/bs_auto_uncurry_test.res b/tests/tests/src/bs_auto_uncurry_test.res similarity index 100% rename from jscomp/test/bs_auto_uncurry_test.res rename to tests/tests/src/bs_auto_uncurry_test.res diff --git a/jscomp/test/bs_ignore_effect.js b/tests/tests/src/bs_ignore_effect.js similarity index 100% rename from jscomp/test/bs_ignore_effect.js rename to tests/tests/src/bs_ignore_effect.js diff --git a/jscomp/test/bs_ignore_effect.res b/tests/tests/src/bs_ignore_effect.res similarity index 100% rename from jscomp/test/bs_ignore_effect.res rename to tests/tests/src/bs_ignore_effect.res diff --git a/jscomp/test/bs_ignore_test.js b/tests/tests/src/bs_ignore_test.js similarity index 100% rename from jscomp/test/bs_ignore_test.js rename to tests/tests/src/bs_ignore_test.js diff --git a/jscomp/test/bs_ignore_test.res b/tests/tests/src/bs_ignore_test.res similarity index 100% rename from jscomp/test/bs_ignore_test.res rename to tests/tests/src/bs_ignore_test.res diff --git a/jscomp/test/bs_map_set_dict_test.js b/tests/tests/src/bs_map_set_dict_test.js similarity index 90% rename from jscomp/test/bs_map_set_dict_test.js rename to tests/tests/src/bs_map_set_dict_test.js index 3b029f03b1..1fc35b08e0 100644 --- a/jscomp/test/bs_map_set_dict_test.js +++ b/tests/tests/src/bs_map_set_dict_test.js @@ -2,12 +2,12 @@ 'use strict'; let Mt = require("./mt.js"); -let Belt_Map = require("../../lib/js/belt_Map.js"); -let Belt_List = require("../../lib/js/belt_List.js"); -let Belt_Array = require("../../lib/js/belt_Array.js"); -let Belt_MapDict = require("../../lib/js/belt_MapDict.js"); -let Belt_SetDict = require("../../lib/js/belt_SetDict.js"); -let Primitive_int = require("../../lib/js/primitive_int.js"); +let Belt_Map = require("rescript/lib/js/belt_Map.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); +let Belt_Array = require("rescript/lib/js/belt_Array.js"); +let Belt_MapDict = require("rescript/lib/js/belt_MapDict.js"); +let Belt_SetDict = require("rescript/lib/js/belt_SetDict.js"); +let Primitive_int = require("rescript/lib/js/primitive_int.js"); let Array_data_util = require("./array_data_util.js"); let suites = { diff --git a/jscomp/test/bs_map_set_dict_test.res b/tests/tests/src/bs_map_set_dict_test.res similarity index 100% rename from jscomp/test/bs_map_set_dict_test.res rename to tests/tests/src/bs_map_set_dict_test.res diff --git a/jscomp/test/bs_map_test.js b/tests/tests/src/bs_map_test.js similarity index 89% rename from jscomp/test/bs_map_test.js rename to tests/tests/src/bs_map_test.js index 33e1fd13c5..9a96b3c070 100644 --- a/jscomp/test/bs_map_test.js +++ b/tests/tests/src/bs_map_test.js @@ -2,9 +2,9 @@ 'use strict'; let Mt = require("./mt.js"); -let Belt_Array = require("../../lib/js/belt_Array.js"); -let Belt_MapInt = require("../../lib/js/belt_MapInt.js"); -let Belt_SetInt = require("../../lib/js/belt_SetInt.js"); +let Belt_Array = require("rescript/lib/js/belt_Array.js"); +let Belt_MapInt = require("rescript/lib/js/belt_MapInt.js"); +let Belt_SetInt = require("rescript/lib/js/belt_SetInt.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/bs_map_test.res b/tests/tests/src/bs_map_test.res similarity index 100% rename from jscomp/test/bs_map_test.res rename to tests/tests/src/bs_map_test.res diff --git a/jscomp/test/bs_min_max_test.js b/tests/tests/src/bs_min_max_test.js similarity index 92% rename from jscomp/test/bs_min_max_test.js rename to tests/tests/src/bs_min_max_test.js index 8d2df459b6..bfa015a5d8 100644 --- a/jscomp/test/bs_min_max_test.js +++ b/tests/tests/src/bs_min_max_test.js @@ -2,8 +2,8 @@ 'use strict'; let Mt = require("./mt.js"); -let Primitive_int = require("../../lib/js/primitive_int.js"); -let Primitive_object = require("../../lib/js/primitive_object.js"); +let Primitive_int = require("rescript/lib/js/primitive_int.js"); +let Primitive_object = require("rescript/lib/js/primitive_object.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/bs_min_max_test.res b/tests/tests/src/bs_min_max_test.res similarity index 100% rename from jscomp/test/bs_min_max_test.res rename to tests/tests/src/bs_min_max_test.res diff --git a/jscomp/test/bs_mutable_set_test.js b/tests/tests/src/bs_mutable_set_test.js similarity index 97% rename from jscomp/test/bs_mutable_set_test.js rename to tests/tests/src/bs_mutable_set_test.js index c4e90e5568..6ce4a559aa 100644 --- a/jscomp/test/bs_mutable_set_test.js +++ b/tests/tests/src/bs_mutable_set_test.js @@ -2,14 +2,14 @@ 'use strict'; let Mt = require("./mt.js"); -let Belt_List = require("../../lib/js/belt_List.js"); -let Belt_Array = require("../../lib/js/belt_Array.js"); -let Belt_Range = require("../../lib/js/belt_Range.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); +let Belt_Array = require("rescript/lib/js/belt_Array.js"); +let Belt_Range = require("rescript/lib/js/belt_Range.js"); let Array_data_util = require("./array_data_util.js"); -let Primitive_array = require("../../lib/js/primitive_array.js"); -let Belt_MutableSetInt = require("../../lib/js/belt_MutableSetInt.js"); -let Belt_internalAVLset = require("../../lib/js/belt_internalAVLset.js"); -let Belt_internalSetInt = require("../../lib/js/belt_internalSetInt.js"); +let Primitive_array = require("rescript/lib/js/primitive_array.js"); +let Belt_MutableSetInt = require("rescript/lib/js/belt_MutableSetInt.js"); +let Belt_internalAVLset = require("rescript/lib/js/belt_internalAVLset.js"); +let Belt_internalSetInt = require("rescript/lib/js/belt_internalSetInt.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/bs_mutable_set_test.res b/tests/tests/src/bs_mutable_set_test.res similarity index 100% rename from jscomp/test/bs_mutable_set_test.res rename to tests/tests/src/bs_mutable_set_test.res diff --git a/jscomp/test/bs_poly_map_test.js b/tests/tests/src/bs_poly_map_test.js similarity index 95% rename from jscomp/test/bs_poly_map_test.js rename to tests/tests/src/bs_poly_map_test.js index a4232c465e..3cbeb6dc00 100644 --- a/jscomp/test/bs_poly_map_test.js +++ b/tests/tests/src/bs_poly_map_test.js @@ -2,13 +2,13 @@ 'use strict'; let Mt = require("./mt.js"); -let Belt_Map = require("../../lib/js/belt_Map.js"); -let Belt_Set = require("../../lib/js/belt_Set.js"); -let Belt_Array = require("../../lib/js/belt_Array.js"); -let Belt_MapDict = require("../../lib/js/belt_MapDict.js"); -let Primitive_int = require("../../lib/js/primitive_int.js"); +let Belt_Map = require("rescript/lib/js/belt_Map.js"); +let Belt_Set = require("rescript/lib/js/belt_Set.js"); +let Belt_Array = require("rescript/lib/js/belt_Array.js"); +let Belt_MapDict = require("rescript/lib/js/belt_MapDict.js"); +let Primitive_int = require("rescript/lib/js/primitive_int.js"); let Array_data_util = require("./array_data_util.js"); -let Primitive_option = require("../../lib/js/primitive_option.js"); +let Primitive_option = require("rescript/lib/js/primitive_option.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/bs_poly_map_test.res b/tests/tests/src/bs_poly_map_test.res similarity index 100% rename from jscomp/test/bs_poly_map_test.res rename to tests/tests/src/bs_poly_map_test.res diff --git a/jscomp/test/bs_poly_mutable_map_test.js b/tests/tests/src/bs_poly_mutable_map_test.js similarity index 86% rename from jscomp/test/bs_poly_mutable_map_test.js rename to tests/tests/src/bs_poly_mutable_map_test.js index f5ec27f549..a81d4cbb4a 100644 --- a/jscomp/test/bs_poly_mutable_map_test.js +++ b/tests/tests/src/bs_poly_mutable_map_test.js @@ -2,12 +2,12 @@ 'use strict'; let Mt = require("./mt.js"); -let Belt_Set = require("../../lib/js/belt_Set.js"); -let Belt_Array = require("../../lib/js/belt_Array.js"); -let Primitive_int = require("../../lib/js/primitive_int.js"); +let Belt_Set = require("rescript/lib/js/belt_Set.js"); +let Belt_Array = require("rescript/lib/js/belt_Array.js"); +let Primitive_int = require("rescript/lib/js/primitive_int.js"); let Array_data_util = require("./array_data_util.js"); -let Belt_MutableMap = require("../../lib/js/belt_MutableMap.js"); -let Belt_internalAVLtree = require("../../lib/js/belt_internalAVLtree.js"); +let Belt_MutableMap = require("rescript/lib/js/belt_MutableMap.js"); +let Belt_internalAVLtree = require("rescript/lib/js/belt_internalAVLtree.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/bs_poly_mutable_map_test.res b/tests/tests/src/bs_poly_mutable_map_test.res similarity index 100% rename from jscomp/test/bs_poly_mutable_map_test.res rename to tests/tests/src/bs_poly_mutable_map_test.res diff --git a/jscomp/test/bs_poly_mutable_set_test.js b/tests/tests/src/bs_poly_mutable_set_test.js similarity index 97% rename from jscomp/test/bs_poly_mutable_set_test.js rename to tests/tests/src/bs_poly_mutable_set_test.js index 966f655989..99f79dde25 100644 --- a/jscomp/test/bs_poly_mutable_set_test.js +++ b/tests/tests/src/bs_poly_mutable_set_test.js @@ -2,12 +2,12 @@ 'use strict'; let Mt = require("./mt.js"); -let Belt_List = require("../../lib/js/belt_List.js"); -let Belt_Array = require("../../lib/js/belt_Array.js"); -let Primitive_int = require("../../lib/js/primitive_int.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); +let Belt_Array = require("rescript/lib/js/belt_Array.js"); +let Primitive_int = require("rescript/lib/js/primitive_int.js"); let Array_data_util = require("./array_data_util.js"); -let Belt_MutableSet = require("../../lib/js/belt_MutableSet.js"); -let Belt_internalAVLset = require("../../lib/js/belt_internalAVLset.js"); +let Belt_MutableSet = require("rescript/lib/js/belt_MutableSet.js"); +let Belt_internalAVLset = require("rescript/lib/js/belt_internalAVLset.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/bs_poly_mutable_set_test.res b/tests/tests/src/bs_poly_mutable_set_test.res similarity index 100% rename from jscomp/test/bs_poly_mutable_set_test.res rename to tests/tests/src/bs_poly_mutable_set_test.res diff --git a/jscomp/test/bs_poly_set_test.js b/tests/tests/src/bs_poly_set_test.js similarity index 96% rename from jscomp/test/bs_poly_set_test.js rename to tests/tests/src/bs_poly_set_test.js index bda700154b..6329f59150 100644 --- a/jscomp/test/bs_poly_set_test.js +++ b/tests/tests/src/bs_poly_set_test.js @@ -2,14 +2,14 @@ 'use strict'; let Mt = require("./mt.js"); -let Belt_Set = require("../../lib/js/belt_Set.js"); -let Belt_List = require("../../lib/js/belt_List.js"); -let Belt_Array = require("../../lib/js/belt_Array.js"); -let Belt_SetDict = require("../../lib/js/belt_SetDict.js"); -let Primitive_int = require("../../lib/js/primitive_int.js"); -let Belt_SortArray = require("../../lib/js/belt_SortArray.js"); +let Belt_Set = require("rescript/lib/js/belt_Set.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); +let Belt_Array = require("rescript/lib/js/belt_Array.js"); +let Belt_SetDict = require("rescript/lib/js/belt_SetDict.js"); +let Primitive_int = require("rescript/lib/js/primitive_int.js"); +let Belt_SortArray = require("rescript/lib/js/belt_SortArray.js"); let Array_data_util = require("./array_data_util.js"); -let Primitive_object = require("../../lib/js/primitive_object.js"); +let Primitive_object = require("rescript/lib/js/primitive_object.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/bs_poly_set_test.res b/tests/tests/src/bs_poly_set_test.res similarity index 100% rename from jscomp/test/bs_poly_set_test.res rename to tests/tests/src/bs_poly_set_test.res diff --git a/jscomp/test/bs_qualified.js b/tests/tests/src/bs_qualified.js similarity index 100% rename from jscomp/test/bs_qualified.js rename to tests/tests/src/bs_qualified.js diff --git a/jscomp/test/bs_qualified.res b/tests/tests/src/bs_qualified.res similarity index 100% rename from jscomp/test/bs_qualified.res rename to tests/tests/src/bs_qualified.res diff --git a/jscomp/test/bs_queue_test.js b/tests/tests/src/bs_queue_test.js similarity index 98% rename from jscomp/test/bs_queue_test.js rename to tests/tests/src/bs_queue_test.js index c99f82b0d6..311d15799f 100644 --- a/jscomp/test/bs_queue_test.js +++ b/tests/tests/src/bs_queue_test.js @@ -2,9 +2,9 @@ 'use strict'; let Mt = require("./mt.js"); -let Belt_Array = require("../../lib/js/belt_Array.js"); -let Primitive_object = require("../../lib/js/primitive_object.js"); -let Belt_MutableQueue = require("../../lib/js/belt_MutableQueue.js"); +let Belt_Array = require("rescript/lib/js/belt_Array.js"); +let Primitive_object = require("rescript/lib/js/primitive_object.js"); +let Belt_MutableQueue = require("rescript/lib/js/belt_MutableQueue.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/bs_queue_test.res b/tests/tests/src/bs_queue_test.res similarity index 100% rename from jscomp/test/bs_queue_test.res rename to tests/tests/src/bs_queue_test.res diff --git a/jscomp/test/bs_rest_test.js b/tests/tests/src/bs_rest_test.js similarity index 100% rename from jscomp/test/bs_rest_test.js rename to tests/tests/src/bs_rest_test.js diff --git a/jscomp/test/bs_rest_test.res b/tests/tests/src/bs_rest_test.res similarity index 100% rename from jscomp/test/bs_rest_test.res rename to tests/tests/src/bs_rest_test.res diff --git a/jscomp/test/bs_set_int_test.js b/tests/tests/src/bs_set_int_test.js similarity index 98% rename from jscomp/test/bs_set_int_test.js rename to tests/tests/src/bs_set_int_test.js index b6dfe0be99..dbee9e6654 100644 --- a/jscomp/test/bs_set_int_test.js +++ b/tests/tests/src/bs_set_int_test.js @@ -2,9 +2,9 @@ 'use strict'; let Mt = require("./mt.js"); -let Belt_List = require("../../lib/js/belt_List.js"); -let Belt_Array = require("../../lib/js/belt_Array.js"); -let Belt_SetInt = require("../../lib/js/belt_SetInt.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); +let Belt_Array = require("rescript/lib/js/belt_Array.js"); +let Belt_SetInt = require("rescript/lib/js/belt_SetInt.js"); let Array_data_util = require("./array_data_util.js"); let suites = { diff --git a/jscomp/test/bs_set_int_test.res b/tests/tests/src/bs_set_int_test.res similarity index 100% rename from jscomp/test/bs_set_int_test.res rename to tests/tests/src/bs_set_int_test.res diff --git a/jscomp/test/bs_splice_partial.js b/tests/tests/src/bs_splice_partial.js similarity index 100% rename from jscomp/test/bs_splice_partial.js rename to tests/tests/src/bs_splice_partial.js diff --git a/jscomp/test/bs_splice_partial.res b/tests/tests/src/bs_splice_partial.res similarity index 100% rename from jscomp/test/bs_splice_partial.res rename to tests/tests/src/bs_splice_partial.res diff --git a/jscomp/test/bs_stack_test.js b/tests/tests/src/bs_stack_test.js similarity index 92% rename from jscomp/test/bs_stack_test.js rename to tests/tests/src/bs_stack_test.js index fa4ed88fee..57e02c31ec 100644 --- a/jscomp/test/bs_stack_test.js +++ b/tests/tests/src/bs_stack_test.js @@ -2,10 +2,10 @@ 'use strict'; let Mt = require("./mt.js"); -let Js_undefined = require("../../lib/js/js_undefined.js"); -let Primitive_option = require("../../lib/js/primitive_option.js"); -let Belt_MutableQueue = require("../../lib/js/belt_MutableQueue.js"); -let Belt_MutableStack = require("../../lib/js/belt_MutableStack.js"); +let Js_undefined = require("rescript/lib/js/js_undefined.js"); +let Primitive_option = require("rescript/lib/js/primitive_option.js"); +let Belt_MutableQueue = require("rescript/lib/js/belt_MutableQueue.js"); +let Belt_MutableStack = require("rescript/lib/js/belt_MutableStack.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/bs_stack_test.res b/tests/tests/src/bs_stack_test.res similarity index 100% rename from jscomp/test/bs_stack_test.res rename to tests/tests/src/bs_stack_test.res diff --git a/jscomp/test/bs_string_test.js b/tests/tests/src/bs_string_test.js similarity index 100% rename from jscomp/test/bs_string_test.js rename to tests/tests/src/bs_string_test.js diff --git a/jscomp/test/bs_string_test.res b/tests/tests/src/bs_string_test.res similarity index 100% rename from jscomp/test/bs_string_test.res rename to tests/tests/src/bs_string_test.res diff --git a/jscomp/test/bs_unwrap_test.js b/tests/tests/src/bs_unwrap_test.js similarity index 95% rename from jscomp/test/bs_unwrap_test.js rename to tests/tests/src/bs_unwrap_test.js index 21420194d0..9c1fed8d69 100644 --- a/jscomp/test/bs_unwrap_test.js +++ b/tests/tests/src/bs_unwrap_test.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Primitive_option = require("../../lib/js/primitive_option.js"); +let Primitive_option = require("rescript/lib/js/primitive_option.js"); console.log([ "hello world", diff --git a/jscomp/test/bs_unwrap_test.res b/tests/tests/src/bs_unwrap_test.res similarity index 100% rename from jscomp/test/bs_unwrap_test.res rename to tests/tests/src/bs_unwrap_test.res diff --git a/jscomp/test/caml_compare_bigint_test.js b/tests/tests/src/caml_compare_bigint_test.js similarity index 98% rename from jscomp/test/caml_compare_bigint_test.js rename to tests/tests/src/caml_compare_bigint_test.js index b594285187..e82585875d 100644 --- a/jscomp/test/caml_compare_bigint_test.js +++ b/tests/tests/src/caml_compare_bigint_test.js @@ -2,8 +2,8 @@ 'use strict'; let Mt = require("./mt.js"); -let Pervasives = require("../../lib/js/pervasives.js"); -let Primitive_object = require("../../lib/js/primitive_object.js"); +let Pervasives = require("rescript/lib/js/pervasives.js"); +let Primitive_object = require("rescript/lib/js/primitive_object.js"); function isLessThan(title, small, big) { return { diff --git a/jscomp/test/caml_compare_bigint_test.res b/tests/tests/src/caml_compare_bigint_test.res similarity index 100% rename from jscomp/test/caml_compare_bigint_test.res rename to tests/tests/src/caml_compare_bigint_test.res diff --git a/jscomp/test/caml_compare_test.js b/tests/tests/src/caml_compare_test.js similarity index 99% rename from jscomp/test/caml_compare_test.js rename to tests/tests/src/caml_compare_test.js index 72a3801ee3..259adb6779 100644 --- a/jscomp/test/caml_compare_test.js +++ b/tests/tests/src/caml_compare_test.js @@ -2,8 +2,8 @@ 'use strict'; let Mt = require("./mt.js"); -let Primitive_object = require("../../lib/js/primitive_object.js"); -let Primitive_exceptions = require("../../lib/js/primitive_exceptions.js"); +let Primitive_object = require("rescript/lib/js/primitive_object.js"); +let Primitive_exceptions = require("rescript/lib/js/primitive_exceptions.js"); let function_equal_test; diff --git a/jscomp/test/caml_compare_test.res b/tests/tests/src/caml_compare_test.res similarity index 100% rename from jscomp/test/caml_compare_test.res rename to tests/tests/src/caml_compare_test.res diff --git a/jscomp/test/chain_code_test.js b/tests/tests/src/chain_code_test.js similarity index 100% rename from jscomp/test/chain_code_test.js rename to tests/tests/src/chain_code_test.js diff --git a/jscomp/test/chain_code_test.res b/tests/tests/src/chain_code_test.res similarity index 100% rename from jscomp/test/chain_code_test.res rename to tests/tests/src/chain_code_test.res diff --git a/jscomp/test/chn_test.js b/tests/tests/src/chn_test.js similarity index 98% rename from jscomp/test/chn_test.js rename to tests/tests/src/chn_test.js index c73f9a3699..d286f47034 100644 --- a/jscomp/test/chn_test.js +++ b/tests/tests/src/chn_test.js @@ -2,7 +2,7 @@ 'use strict'; let Mt = require("./mt.js"); -let Belt_List = require("../../lib/js/belt_List.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/chn_test.res b/tests/tests/src/chn_test.res similarity index 100% rename from jscomp/test/chn_test.res rename to tests/tests/src/chn_test.res diff --git a/jscomp/test/class_type_ffi_test.js b/tests/tests/src/class_type_ffi_test.js similarity index 100% rename from jscomp/test/class_type_ffi_test.js rename to tests/tests/src/class_type_ffi_test.js diff --git a/jscomp/test/class_type_ffi_test.res b/tests/tests/src/class_type_ffi_test.res similarity index 100% rename from jscomp/test/class_type_ffi_test.res rename to tests/tests/src/class_type_ffi_test.res diff --git a/jscomp/test/coercion_module_alias_test.js b/tests/tests/src/coercion_module_alias_test.js similarity index 95% rename from jscomp/test/coercion_module_alias_test.js rename to tests/tests/src/coercion_module_alias_test.js index 2ce60262d5..85cb699628 100644 --- a/jscomp/test/coercion_module_alias_test.js +++ b/tests/tests/src/coercion_module_alias_test.js @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Char = require("../../lib/js/char.js"); -let Belt_List = require("../../lib/js/belt_List.js"); +let Char = require("rescript/lib/js/char.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); function l(prim) { console.log(prim); diff --git a/jscomp/test/coercion_module_alias_test.res b/tests/tests/src/coercion_module_alias_test.res similarity index 100% rename from jscomp/test/coercion_module_alias_test.res rename to tests/tests/src/coercion_module_alias_test.res diff --git a/jscomp/test/compare_test.js b/tests/tests/src/compare_test.js similarity index 100% rename from jscomp/test/compare_test.js rename to tests/tests/src/compare_test.js diff --git a/jscomp/test/compare_test.res b/tests/tests/src/compare_test.res similarity index 100% rename from jscomp/test/compare_test.res rename to tests/tests/src/compare_test.res diff --git a/jscomp/test/complete_parmatch_test.js b/tests/tests/src/complete_parmatch_test.js similarity index 100% rename from jscomp/test/complete_parmatch_test.js rename to tests/tests/src/complete_parmatch_test.js diff --git a/jscomp/test/complete_parmatch_test.res b/tests/tests/src/complete_parmatch_test.res similarity index 100% rename from jscomp/test/complete_parmatch_test.res rename to tests/tests/src/complete_parmatch_test.res diff --git a/jscomp/test/complex_while_loop.js b/tests/tests/src/complex_while_loop.js similarity index 100% rename from jscomp/test/complex_while_loop.js rename to tests/tests/src/complex_while_loop.js diff --git a/jscomp/test/complex_while_loop.res b/tests/tests/src/complex_while_loop.res similarity index 100% rename from jscomp/test/complex_while_loop.res rename to tests/tests/src/complex_while_loop.res diff --git a/jscomp/test/condition_compilation_test.js b/tests/tests/src/condition_compilation_test.js similarity index 100% rename from jscomp/test/condition_compilation_test.js rename to tests/tests/src/condition_compilation_test.js diff --git a/jscomp/test/condition_compilation_test.res b/tests/tests/src/condition_compilation_test.res similarity index 100% rename from jscomp/test/condition_compilation_test.res rename to tests/tests/src/condition_compilation_test.res diff --git a/tests/tests/src/conditional/cond_a.js b/tests/tests/src/conditional/cond_a.js new file mode 100644 index 0000000000..654be840bb --- /dev/null +++ b/tests/tests/src/conditional/cond_a.js @@ -0,0 +1,16 @@ +// Generated by ReScript, PLEASE EDIT WITH CARE +'use strict'; + + +throw { + RE_EXN_ID: "Assert_failure", + _1: [ + "cond_a.res", + 1, + 8 + ], + Error: new Error() +}; + +exports.u = u; +/* u Not a pure module */ diff --git a/jscomp/test/conditional/a.res b/tests/tests/src/conditional/cond_a.res similarity index 100% rename from jscomp/test/conditional/a.res rename to tests/tests/src/conditional/cond_a.res diff --git a/tests/tests/src/conditional/cond_a_B.js b/tests/tests/src/conditional/cond_a_B.js new file mode 100644 index 0000000000..c5a52052e0 --- /dev/null +++ b/tests/tests/src/conditional/cond_a_B.js @@ -0,0 +1,15 @@ +// Generated by ReScript, PLEASE EDIT WITH CARE +'use strict'; + + +let B = { + value: 3 +}; + +let A = { + u: 3 +}; + +exports.B = B; +exports.A = A; +/* No side effect */ diff --git a/jscomp/test/conditional/a_B.res b/tests/tests/src/conditional/cond_a_B.res similarity index 100% rename from jscomp/test/conditional/a_B.res rename to tests/tests/src/conditional/cond_a_B.res diff --git a/tests/tests/src/conditional/cond_a_C.js b/tests/tests/src/conditional/cond_a_C.js new file mode 100644 index 0000000000..41056e1139 --- /dev/null +++ b/tests/tests/src/conditional/cond_a_C.js @@ -0,0 +1,15 @@ +// Generated by ReScript, PLEASE EDIT WITH CARE +'use strict'; + + +let C = { + value: 3 +}; + +let A = { + u: 3 +}; + +exports.C = C; +exports.A = A; +/* No side effect */ diff --git a/jscomp/test/conditional/a_C.res b/tests/tests/src/conditional/cond_a_C.res similarity index 100% rename from jscomp/test/conditional/a_C.res rename to tests/tests/src/conditional/cond_a_C.res diff --git a/tests/tests/src/conditional/cond_a_none.js b/tests/tests/src/conditional/cond_a_none.js new file mode 100644 index 0000000000..90d2901291 --- /dev/null +++ b/tests/tests/src/conditional/cond_a_none.js @@ -0,0 +1,16 @@ +// Generated by ReScript, PLEASE EDIT WITH CARE +'use strict'; + + +throw { + RE_EXN_ID: "Assert_failure", + _1: [ + "cond_a_none.res", + 2, + 10 + ], + Error: new Error() +}; + +exports.A = A; +/* u Not a pure module */ diff --git a/jscomp/test/conditional/a_none.res b/tests/tests/src/conditional/cond_a_none.res similarity index 100% rename from jscomp/test/conditional/a_none.res rename to tests/tests/src/conditional/cond_a_none.res diff --git a/tests/tests/src/conditional/cond_b.js b/tests/tests/src/conditional/cond_b.js new file mode 100644 index 0000000000..aaf55c9a90 --- /dev/null +++ b/tests/tests/src/conditional/cond_b.js @@ -0,0 +1,8 @@ +// Generated by ReScript, PLEASE EDIT WITH CARE +'use strict'; + + +let value = 3; + +exports.value = value; +/* No side effect */ diff --git a/jscomp/test/conditional/b.res b/tests/tests/src/conditional/cond_b.res similarity index 100% rename from jscomp/test/conditional/b.res rename to tests/tests/src/conditional/cond_b.res diff --git a/tests/tests/src/conditional/cond_c.js b/tests/tests/src/conditional/cond_c.js new file mode 100644 index 0000000000..aaf55c9a90 --- /dev/null +++ b/tests/tests/src/conditional/cond_c.js @@ -0,0 +1,8 @@ +// Generated by ReScript, PLEASE EDIT WITH CARE +'use strict'; + + +let value = 3; + +exports.value = value; +/* No side effect */ diff --git a/jscomp/test/conditional/c.res b/tests/tests/src/conditional/cond_c.res similarity index 100% rename from jscomp/test/conditional/c.res rename to tests/tests/src/conditional/cond_c.res diff --git a/jscomp/test/config1_test.js b/tests/tests/src/config1_test.js similarity index 100% rename from jscomp/test/config1_test.js rename to tests/tests/src/config1_test.js diff --git a/jscomp/test/config1_test.res b/tests/tests/src/config1_test.res similarity index 100% rename from jscomp/test/config1_test.res rename to tests/tests/src/config1_test.res diff --git a/jscomp/test/console_log_test.js b/tests/tests/src/console_log_test.js similarity index 81% rename from jscomp/test/console_log_test.js rename to tests/tests/src/console_log_test.js index a26d6b1808..9a0c855142 100644 --- a/jscomp/test/console_log_test.js +++ b/tests/tests/src/console_log_test.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Primitive_object = require("../../lib/js/primitive_object.js"); +let Primitive_object = require("rescript/lib/js/primitive_object.js"); function min_int(prim0, prim1) { return Math.min(prim0, prim1); diff --git a/jscomp/test/console_log_test.res b/tests/tests/src/console_log_test.res similarity index 100% rename from jscomp/test/console_log_test.res rename to tests/tests/src/console_log_test.res diff --git a/jscomp/test/const_block_test.js b/tests/tests/src/const_block_test.js similarity index 94% rename from jscomp/test/const_block_test.js rename to tests/tests/src/const_block_test.js index 8710e9f35a..0212f5dbb0 100644 --- a/jscomp/test/const_block_test.js +++ b/tests/tests/src/const_block_test.js @@ -2,7 +2,7 @@ 'use strict'; let Mt = require("./mt.js"); -let Primitive_array = require("../../lib/js/primitive_array.js"); +let Primitive_array = require("rescript/lib/js/primitive_array.js"); let a = [ 0, diff --git a/jscomp/test/const_block_test.res b/tests/tests/src/const_block_test.res similarity index 100% rename from jscomp/test/const_block_test.res rename to tests/tests/src/const_block_test.res diff --git a/jscomp/test/const_block_test.resi b/tests/tests/src/const_block_test.resi similarity index 100% rename from jscomp/test/const_block_test.resi rename to tests/tests/src/const_block_test.resi diff --git a/jscomp/test/const_defs.js b/tests/tests/src/const_defs.js similarity index 100% rename from jscomp/test/const_defs.js rename to tests/tests/src/const_defs.js diff --git a/jscomp/test/const_defs.res b/tests/tests/src/const_defs.res similarity index 100% rename from jscomp/test/const_defs.res rename to tests/tests/src/const_defs.res diff --git a/jscomp/test/const_defs_test.js b/tests/tests/src/const_defs_test.js similarity index 100% rename from jscomp/test/const_defs_test.js rename to tests/tests/src/const_defs_test.js diff --git a/jscomp/test/const_defs_test.res b/tests/tests/src/const_defs_test.res similarity index 100% rename from jscomp/test/const_defs_test.res rename to tests/tests/src/const_defs_test.res diff --git a/jscomp/test/const_test.js b/tests/tests/src/const_test.js similarity index 100% rename from jscomp/test/const_test.js rename to tests/tests/src/const_test.js diff --git a/jscomp/test/const_test.res b/tests/tests/src/const_test.res similarity index 100% rename from jscomp/test/const_test.res rename to tests/tests/src/const_test.res diff --git a/jscomp/test/cont_int_fold_test.js b/tests/tests/src/cont_int_fold_test.js similarity index 100% rename from jscomp/test/cont_int_fold_test.js rename to tests/tests/src/cont_int_fold_test.js diff --git a/jscomp/test/cont_int_fold_test.res b/tests/tests/src/cont_int_fold_test.res similarity index 100% rename from jscomp/test/cont_int_fold_test.res rename to tests/tests/src/cont_int_fold_test.res diff --git a/jscomp/test/cps_test.js b/tests/tests/src/cps_test.js similarity index 92% rename from jscomp/test/cps_test.js rename to tests/tests/src/cps_test.js index 15eb645e43..c551cafd05 100644 --- a/jscomp/test/cps_test.js +++ b/tests/tests/src/cps_test.js @@ -2,8 +2,8 @@ 'use strict'; let Mt = require("./mt.js"); -let Belt_Array = require("../../lib/js/belt_Array.js"); -let Primitive_array = require("../../lib/js/primitive_array.js"); +let Belt_Array = require("rescript/lib/js/belt_Array.js"); +let Primitive_array = require("rescript/lib/js/primitive_array.js"); function test() { let v = { diff --git a/jscomp/test/cps_test.res b/tests/tests/src/cps_test.res similarity index 100% rename from jscomp/test/cps_test.res rename to tests/tests/src/cps_test.res diff --git a/jscomp/test/cross_module_inline_test.js b/tests/tests/src/cross_module_inline_test.js similarity index 100% rename from jscomp/test/cross_module_inline_test.js rename to tests/tests/src/cross_module_inline_test.js diff --git a/jscomp/test/cross_module_inline_test.res b/tests/tests/src/cross_module_inline_test.res similarity index 100% rename from jscomp/test/cross_module_inline_test.res rename to tests/tests/src/cross_module_inline_test.res diff --git a/jscomp/test/custom_error_test.js b/tests/tests/src/custom_error_test.js similarity index 91% rename from jscomp/test/custom_error_test.js rename to tests/tests/src/custom_error_test.js index c4549b0f05..03f056c812 100644 --- a/jscomp/test/custom_error_test.js +++ b/tests/tests/src/custom_error_test.js @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Js_exn = require("../../lib/js/js_exn.js"); -let Primitive_exceptions = require("../../lib/js/primitive_exceptions.js"); +let Js_exn = require("rescript/lib/js/js_exn.js"); +let Primitive_exceptions = require("rescript/lib/js/primitive_exceptions.js"); function test_js_error() { let e; diff --git a/jscomp/test/custom_error_test.res b/tests/tests/src/custom_error_test.res similarity index 100% rename from jscomp/test/custom_error_test.res rename to tests/tests/src/custom_error_test.res diff --git a/jscomp/test/debug_keep_test.js b/tests/tests/src/debug_keep_test.js similarity index 100% rename from jscomp/test/debug_keep_test.js rename to tests/tests/src/debug_keep_test.js diff --git a/jscomp/test/debug_keep_test.res b/tests/tests/src/debug_keep_test.res similarity index 100% rename from jscomp/test/debug_keep_test.res rename to tests/tests/src/debug_keep_test.res diff --git a/jscomp/test/debug_mode_value.js b/tests/tests/src/debug_mode_value.js similarity index 100% rename from jscomp/test/debug_mode_value.js rename to tests/tests/src/debug_mode_value.js diff --git a/jscomp/test/debug_mode_value.res b/tests/tests/src/debug_mode_value.res similarity index 100% rename from jscomp/test/debug_mode_value.res rename to tests/tests/src/debug_mode_value.res diff --git a/jscomp/test/debug_tmp.js b/tests/tests/src/debug_tmp.js similarity index 100% rename from jscomp/test/debug_tmp.js rename to tests/tests/src/debug_tmp.js diff --git a/jscomp/test/debug_tmp.res b/tests/tests/src/debug_tmp.res similarity index 100% rename from jscomp/test/debug_tmp.res rename to tests/tests/src/debug_tmp.res diff --git a/jscomp/test/debugger_test.js b/tests/tests/src/debugger_test.js similarity index 100% rename from jscomp/test/debugger_test.js rename to tests/tests/src/debugger_test.js diff --git a/jscomp/test/debugger_test.res b/tests/tests/src/debugger_test.res similarity index 100% rename from jscomp/test/debugger_test.res rename to tests/tests/src/debugger_test.res diff --git a/jscomp/test/default_export_test.js b/tests/tests/src/default_export_test.js similarity index 100% rename from jscomp/test/default_export_test.js rename to tests/tests/src/default_export_test.js diff --git a/jscomp/test/default_export_test.res b/tests/tests/src/default_export_test.res similarity index 100% rename from jscomp/test/default_export_test.res rename to tests/tests/src/default_export_test.res diff --git a/jscomp/test/defunctor_make_test.js b/tests/tests/src/defunctor_make_test.js similarity index 98% rename from jscomp/test/defunctor_make_test.js rename to tests/tests/src/defunctor_make_test.js index 2b30da619f..fd815af76e 100644 --- a/jscomp/test/defunctor_make_test.js +++ b/tests/tests/src/defunctor_make_test.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Primitive_int = require("../../lib/js/primitive_int.js"); +let Primitive_int = require("rescript/lib/js/primitive_int.js"); function getcompare(x) { return x; diff --git a/jscomp/test/defunctor_make_test.res b/tests/tests/src/defunctor_make_test.res similarity index 100% rename from jscomp/test/defunctor_make_test.res rename to tests/tests/src/defunctor_make_test.res diff --git a/jscomp/test/demo_int_map.js b/tests/tests/src/demo_int_map.js similarity index 82% rename from jscomp/test/demo_int_map.js rename to tests/tests/src/demo_int_map.js index 9355999c5b..4493238b01 100644 --- a/jscomp/test/demo_int_map.js +++ b/tests/tests/src/demo_int_map.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_MapInt = require("../../lib/js/belt_MapInt.js"); +let Belt_MapInt = require("rescript/lib/js/belt_MapInt.js"); function test() { let m; diff --git a/jscomp/test/demo_int_map.res b/tests/tests/src/demo_int_map.res similarity index 100% rename from jscomp/test/demo_int_map.res rename to tests/tests/src/demo_int_map.res diff --git a/jscomp/test/demo_int_map.resi b/tests/tests/src/demo_int_map.resi similarity index 100% rename from jscomp/test/demo_int_map.resi rename to tests/tests/src/demo_int_map.resi diff --git a/jscomp/test/demo_page.js b/tests/tests/src/demo_page.js similarity index 100% rename from jscomp/test/demo_page.js rename to tests/tests/src/demo_page.js diff --git a/jscomp/test/demo_page.res b/tests/tests/src/demo_page.res similarity index 100% rename from jscomp/test/demo_page.res rename to tests/tests/src/demo_page.res diff --git a/jscomp/test/demo_pipe.js b/tests/tests/src/demo_pipe.js similarity index 100% rename from jscomp/test/demo_pipe.js rename to tests/tests/src/demo_pipe.js diff --git a/jscomp/test/demo_pipe.res b/tests/tests/src/demo_pipe.res similarity index 100% rename from jscomp/test/demo_pipe.res rename to tests/tests/src/demo_pipe.res diff --git a/jscomp/test/derive_projector_test.js b/tests/tests/src/derive_projector_test.js similarity index 100% rename from jscomp/test/derive_projector_test.js rename to tests/tests/src/derive_projector_test.js diff --git a/jscomp/test/derive_projector_test.res b/tests/tests/src/derive_projector_test.res similarity index 100% rename from jscomp/test/derive_projector_test.res rename to tests/tests/src/derive_projector_test.res diff --git a/jscomp/test/derive_projector_test.resi b/tests/tests/src/derive_projector_test.resi similarity index 100% rename from jscomp/test/derive_projector_test.resi rename to tests/tests/src/derive_projector_test.resi diff --git a/jscomp/test/directives.js b/tests/tests/src/directives.js similarity index 73% rename from jscomp/test/directives.js rename to tests/tests/src/directives.js index b06be85582..45c00af0b8 100644 --- a/jscomp/test/directives.js +++ b/tests/tests/src/directives.js @@ -3,7 +3,7 @@ second directive; // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_Array = require("../../lib/js/belt_Array.js"); +let Belt_Array = require("rescript/lib/js/belt_Array.js"); let a = Belt_Array.forEach; diff --git a/jscomp/test/directives.res b/tests/tests/src/directives.res similarity index 100% rename from jscomp/test/directives.res rename to tests/tests/src/directives.res diff --git a/jscomp/test/div_by_zero_test.js b/tests/tests/src/div_by_zero_test.js similarity index 94% rename from jscomp/test/div_by_zero_test.js rename to tests/tests/src/div_by_zero_test.js index c2d6d28c1d..7f83b246c0 100644 --- a/jscomp/test/div_by_zero_test.js +++ b/tests/tests/src/div_by_zero_test.js @@ -2,7 +2,7 @@ 'use strict'; let Mt = require("./mt.js"); -let Primitive_int = require("../../lib/js/primitive_int.js"); +let Primitive_int = require("rescript/lib/js/primitive_int.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/div_by_zero_test.res b/tests/tests/src/div_by_zero_test.res similarity index 100% rename from jscomp/test/div_by_zero_test.res rename to tests/tests/src/div_by_zero_test.res diff --git a/jscomp/test/dollar_escape_test.js b/tests/tests/src/dollar_escape_test.js similarity index 100% rename from jscomp/test/dollar_escape_test.js rename to tests/tests/src/dollar_escape_test.js diff --git a/jscomp/test/dollar_escape_test.res b/tests/tests/src/dollar_escape_test.res similarity index 100% rename from jscomp/test/dollar_escape_test.res rename to tests/tests/src/dollar_escape_test.res diff --git a/jscomp/test/earger_curry_test.js b/tests/tests/src/earger_curry_test.js similarity index 98% rename from jscomp/test/earger_curry_test.js rename to tests/tests/src/earger_curry_test.js index 98bbe7755a..c2e3cea1be 100644 --- a/jscomp/test/earger_curry_test.js +++ b/tests/tests/src/earger_curry_test.js @@ -2,7 +2,7 @@ 'use strict'; let Mt = require("./mt.js"); -let Belt_Array = require("../../lib/js/belt_Array.js"); +let Belt_Array = require("rescript/lib/js/belt_Array.js"); function map(f, a) { let f$1 = x => f(x); diff --git a/jscomp/test/earger_curry_test.res b/tests/tests/src/earger_curry_test.res similarity index 100% rename from jscomp/test/earger_curry_test.res rename to tests/tests/src/earger_curry_test.res diff --git a/jscomp/test/effect.js b/tests/tests/src/effect.js similarity index 100% rename from jscomp/test/effect.js rename to tests/tests/src/effect.js diff --git a/jscomp/test/effect.res b/tests/tests/src/effect.res similarity index 100% rename from jscomp/test/effect.res rename to tests/tests/src/effect.res diff --git a/jscomp/test/epsilon_test.js b/tests/tests/src/epsilon_test.js similarity index 90% rename from jscomp/test/epsilon_test.js rename to tests/tests/src/epsilon_test.js index 58cfd7092c..6b6af399e6 100644 --- a/jscomp/test/epsilon_test.js +++ b/tests/tests/src/epsilon_test.js @@ -2,7 +2,7 @@ 'use strict'; let Mt = require("./mt.js"); -let Pervasives = require("../../lib/js/pervasives.js"); +let Pervasives = require("rescript/lib/js/pervasives.js"); let v = (Number.EPSILON?Number.EPSILON:2.220446049250313e-16); diff --git a/jscomp/test/epsilon_test.res b/tests/tests/src/epsilon_test.res similarity index 100% rename from jscomp/test/epsilon_test.res rename to tests/tests/src/epsilon_test.res diff --git a/jscomp/test/equal_box_test.js b/tests/tests/src/equal_box_test.js similarity index 97% rename from jscomp/test/equal_box_test.js rename to tests/tests/src/equal_box_test.js index 420f8e4635..7604c5320c 100644 --- a/jscomp/test/equal_box_test.js +++ b/tests/tests/src/equal_box_test.js @@ -2,7 +2,7 @@ 'use strict'; let Mt = require("./mt.js"); -let Primitive_object = require("../../lib/js/primitive_object.js"); +let Primitive_object = require("rescript/lib/js/primitive_object.js"); let aa = Primitive_object.equal; diff --git a/jscomp/test/equal_box_test.res b/tests/tests/src/equal_box_test.res similarity index 100% rename from jscomp/test/equal_box_test.res rename to tests/tests/src/equal_box_test.res diff --git a/jscomp/test/equal_exception_test.js b/tests/tests/src/equal_exception_test.js similarity index 94% rename from jscomp/test/equal_exception_test.js rename to tests/tests/src/equal_exception_test.js index 6cc7cf5bf0..ace01f1143 100644 --- a/jscomp/test/equal_exception_test.js +++ b/tests/tests/src/equal_exception_test.js @@ -2,8 +2,8 @@ 'use strict'; let Mt = require("./mt.js"); -let Primitive_object = require("../../lib/js/primitive_object.js"); -let Primitive_exceptions = require("../../lib/js/primitive_exceptions.js"); +let Primitive_object = require("rescript/lib/js/primitive_object.js"); +let Primitive_exceptions = require("rescript/lib/js/primitive_exceptions.js"); let v = "gso"; diff --git a/jscomp/test/equal_exception_test.res b/tests/tests/src/equal_exception_test.res similarity index 100% rename from jscomp/test/equal_exception_test.res rename to tests/tests/src/equal_exception_test.res diff --git a/jscomp/test/equal_test.js b/tests/tests/src/equal_test.js similarity index 100% rename from jscomp/test/equal_test.js rename to tests/tests/src/equal_test.js diff --git a/jscomp/test/equal_test.res b/tests/tests/src/equal_test.res similarity index 100% rename from jscomp/test/equal_test.res rename to tests/tests/src/equal_test.res diff --git a/jscomp/test/escape_esmodule.js b/tests/tests/src/escape_esmodule.js similarity index 100% rename from jscomp/test/escape_esmodule.js rename to tests/tests/src/escape_esmodule.js diff --git a/jscomp/test/escape_esmodule.res b/tests/tests/src/escape_esmodule.res similarity index 100% rename from jscomp/test/escape_esmodule.res rename to tests/tests/src/escape_esmodule.res diff --git a/jscomp/test/esmodule_ref.js b/tests/tests/src/esmodule_ref.js similarity index 100% rename from jscomp/test/esmodule_ref.js rename to tests/tests/src/esmodule_ref.js diff --git a/jscomp/test/esmodule_ref.res b/tests/tests/src/esmodule_ref.res similarity index 100% rename from jscomp/test/esmodule_ref.res rename to tests/tests/src/esmodule_ref.res diff --git a/jscomp/test/event_ffi.js b/tests/tests/src/event_ffi.js similarity index 94% rename from jscomp/test/event_ffi.js rename to tests/tests/src/event_ffi.js index 1a92a6f004..52e54ffd26 100644 --- a/jscomp/test/event_ffi.js +++ b/tests/tests/src/event_ffi.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_List = require("../../lib/js/belt_List.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); function h0(x) { return x(); diff --git a/jscomp/test/event_ffi.res b/tests/tests/src/event_ffi.res similarity index 100% rename from jscomp/test/event_ffi.res rename to tests/tests/src/event_ffi.res diff --git a/jscomp/test/exception_alias.js b/tests/tests/src/exception_alias.js similarity index 98% rename from jscomp/test/exception_alias.js rename to tests/tests/src/exception_alias.js index 620e7f226b..4ca1681f03 100644 --- a/jscomp/test/exception_alias.js +++ b/tests/tests/src/exception_alias.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_List = require("../../lib/js/belt_List.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); let a0 = { RE_EXN_ID: "Not_found" diff --git a/jscomp/test/exception_alias.res b/tests/tests/src/exception_alias.res similarity index 100% rename from jscomp/test/exception_alias.res rename to tests/tests/src/exception_alias.res diff --git a/jscomp/test/exception_raise_test.js b/tests/tests/src/exception_raise_test.js similarity index 96% rename from jscomp/test/exception_raise_test.js rename to tests/tests/src/exception_raise_test.js index 687870fc21..c10af25bd8 100644 --- a/jscomp/test/exception_raise_test.js +++ b/tests/tests/src/exception_raise_test.js @@ -2,9 +2,9 @@ 'use strict'; let Mt = require("./mt.js"); -let Js_exn = require("../../lib/js/js_exn.js"); -let Belt_List = require("../../lib/js/belt_List.js"); -let Primitive_exceptions = require("../../lib/js/primitive_exceptions.js"); +let Js_exn = require("rescript/lib/js/js_exn.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); +let Primitive_exceptions = require("rescript/lib/js/primitive_exceptions.js"); let Local = /* @__PURE__ */Primitive_exceptions.create("Exception_raise_test.Local"); diff --git a/jscomp/test/exception_raise_test.res b/tests/tests/src/exception_raise_test.res similarity index 100% rename from jscomp/test/exception_raise_test.res rename to tests/tests/src/exception_raise_test.res diff --git a/jscomp/test/exception_rebound_err_test.js b/tests/tests/src/exception_rebound_err_test.js similarity index 95% rename from jscomp/test/exception_rebound_err_test.js rename to tests/tests/src/exception_rebound_err_test.js index 71cd0d8fd1..511e935243 100644 --- a/jscomp/test/exception_rebound_err_test.js +++ b/tests/tests/src/exception_rebound_err_test.js @@ -2,7 +2,7 @@ 'use strict'; let Mt = require("./mt.js"); -let Primitive_exceptions = require("../../lib/js/primitive_exceptions.js"); +let Primitive_exceptions = require("rescript/lib/js/primitive_exceptions.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/exception_rebound_err_test.res b/tests/tests/src/exception_rebound_err_test.res similarity index 100% rename from jscomp/test/exception_rebound_err_test.res rename to tests/tests/src/exception_rebound_err_test.res diff --git a/jscomp/test/exception_value_test.js b/tests/tests/src/exception_value_test.js similarity index 92% rename from jscomp/test/exception_value_test.js rename to tests/tests/src/exception_value_test.js index 8dc4aa6cf6..7f746ff79f 100644 --- a/jscomp/test/exception_value_test.js +++ b/tests/tests/src/exception_value_test.js @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Js_exn = require("../../lib/js/js_exn.js"); -let Primitive_exceptions = require("../../lib/js/primitive_exceptions.js"); +let Js_exn = require("rescript/lib/js/js_exn.js"); +let Primitive_exceptions = require("rescript/lib/js/primitive_exceptions.js"); function f() { throw { diff --git a/jscomp/test/exception_value_test.res b/tests/tests/src/exception_value_test.res similarity index 100% rename from jscomp/test/exception_value_test.res rename to tests/tests/src/exception_value_test.res diff --git a/jscomp/test/exotic_labels_test.js b/tests/tests/src/exotic_labels_test.js similarity index 100% rename from jscomp/test/exotic_labels_test.js rename to tests/tests/src/exotic_labels_test.js diff --git a/jscomp/test/exotic_labels_test.res b/tests/tests/src/exotic_labels_test.res similarity index 100% rename from jscomp/test/exotic_labels_test.res rename to tests/tests/src/exotic_labels_test.res diff --git a/jscomp/test/exponentiation_precedence_test.js b/tests/tests/src/exponentiation_precedence_test.js similarity index 100% rename from jscomp/test/exponentiation_precedence_test.js rename to tests/tests/src/exponentiation_precedence_test.js diff --git a/jscomp/test/exponentiation_precedence_test.res b/tests/tests/src/exponentiation_precedence_test.res similarity index 100% rename from jscomp/test/exponentiation_precedence_test.res rename to tests/tests/src/exponentiation_precedence_test.res diff --git a/jscomp/test/export_keyword.js b/tests/tests/src/export_keyword.js similarity index 100% rename from jscomp/test/export_keyword.js rename to tests/tests/src/export_keyword.js diff --git a/jscomp/test/export_keyword.res b/tests/tests/src/export_keyword.res similarity index 100% rename from jscomp/test/export_keyword.res rename to tests/tests/src/export_keyword.res diff --git a/jscomp/test/ext_array_test.js b/tests/tests/src/ext_array_test.js similarity index 96% rename from jscomp/test/ext_array_test.js rename to tests/tests/src/ext_array_test.js index 30c572653f..af70707333 100644 --- a/jscomp/test/ext_array_test.js +++ b/tests/tests/src/ext_array_test.js @@ -1,9 +1,9 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_List = require("../../lib/js/belt_List.js"); -let Belt_Array = require("../../lib/js/belt_Array.js"); -let Primitive_option = require("../../lib/js/primitive_option.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); +let Belt_Array = require("rescript/lib/js/belt_Array.js"); +let Primitive_option = require("rescript/lib/js/primitive_option.js"); function reverse_range(a, i, len) { if (len === 0) { diff --git a/jscomp/test/ext_array_test.res b/tests/tests/src/ext_array_test.res similarity index 100% rename from jscomp/test/ext_array_test.res rename to tests/tests/src/ext_array_test.res diff --git a/jscomp/test/ext_pervasives_test.js b/tests/tests/src/ext_pervasives_test.js similarity index 100% rename from jscomp/test/ext_pervasives_test.js rename to tests/tests/src/ext_pervasives_test.js diff --git a/jscomp/test/ext_pervasives_test.res b/tests/tests/src/ext_pervasives_test.res similarity index 100% rename from jscomp/test/ext_pervasives_test.res rename to tests/tests/src/ext_pervasives_test.res diff --git a/jscomp/test/ext_pervasives_test.resi b/tests/tests/src/ext_pervasives_test.resi similarity index 100% rename from jscomp/test/ext_pervasives_test.resi rename to tests/tests/src/ext_pervasives_test.resi diff --git a/jscomp/test/extensible_variant_test.js b/tests/tests/src/extensible_variant_test.js similarity index 94% rename from jscomp/test/extensible_variant_test.js rename to tests/tests/src/extensible_variant_test.js index 42f4e0a101..803a92d93c 100644 --- a/jscomp/test/extensible_variant_test.js +++ b/tests/tests/src/extensible_variant_test.js @@ -2,7 +2,7 @@ 'use strict'; let Mt = require("./mt.js"); -let Primitive_exceptions = require("../../lib/js/primitive_exceptions.js"); +let Primitive_exceptions = require("rescript/lib/js/primitive_exceptions.js"); let Str = /* @__PURE__ */Primitive_exceptions.create("Extensible_variant_test.Str"); diff --git a/jscomp/test/extensible_variant_test.res b/tests/tests/src/extensible_variant_test.res similarity index 100% rename from jscomp/test/extensible_variant_test.res rename to tests/tests/src/extensible_variant_test.res diff --git a/jscomp/test/external_ppx.js b/tests/tests/src/external_ppx.js similarity index 100% rename from jscomp/test/external_ppx.js rename to tests/tests/src/external_ppx.js diff --git a/jscomp/test/external_ppx.res b/tests/tests/src/external_ppx.res similarity index 100% rename from jscomp/test/external_ppx.res rename to tests/tests/src/external_ppx.res diff --git a/jscomp/test/external_ppx2.js b/tests/tests/src/external_ppx2.js similarity index 100% rename from jscomp/test/external_ppx2.js rename to tests/tests/src/external_ppx2.js diff --git a/jscomp/test/external_ppx2.res b/tests/tests/src/external_ppx2.res similarity index 100% rename from jscomp/test/external_ppx2.res rename to tests/tests/src/external_ppx2.res diff --git a/jscomp/test/ffi_arity_test.js b/tests/tests/src/ffi_arity_test.js similarity index 100% rename from jscomp/test/ffi_arity_test.js rename to tests/tests/src/ffi_arity_test.js diff --git a/jscomp/test/ffi_arity_test.res b/tests/tests/src/ffi_arity_test.res similarity index 100% rename from jscomp/test/ffi_arity_test.res rename to tests/tests/src/ffi_arity_test.res diff --git a/jscomp/test/ffi_array_test.js b/tests/tests/src/ffi_array_test.js similarity index 100% rename from jscomp/test/ffi_array_test.js rename to tests/tests/src/ffi_array_test.js diff --git a/jscomp/test/ffi_array_test.res b/tests/tests/src/ffi_array_test.res similarity index 100% rename from jscomp/test/ffi_array_test.res rename to tests/tests/src/ffi_array_test.res diff --git a/jscomp/test/ffi_js_test.js b/tests/tests/src/ffi_js_test.js similarity index 100% rename from jscomp/test/ffi_js_test.js rename to tests/tests/src/ffi_js_test.js diff --git a/jscomp/test/ffi_js_test.res b/tests/tests/src/ffi_js_test.res similarity index 100% rename from jscomp/test/ffi_js_test.res rename to tests/tests/src/ffi_js_test.res diff --git a/jscomp/test/ffi_splice_test.js b/tests/tests/src/ffi_splice_test.js similarity index 94% rename from jscomp/test/ffi_splice_test.js rename to tests/tests/src/ffi_splice_test.js index f43416a0bb..afed162b54 100644 --- a/jscomp/test/ffi_splice_test.js +++ b/tests/tests/src/ffi_splice_test.js @@ -54,7 +54,7 @@ let v = new Make(1, 2, 3, 4); let u = v.sum(); -eq("File \"ffi_splice_test.res\", line 58, characters 12-19", u, 10); +eq("File \"ffi_splice_test.res\", line 54, characters 12-19", u, 10); Mt.from_pair_suites("Ffi_splice_test", suites.contents); diff --git a/jscomp/test/ffi_splice_test.res b/tests/tests/src/ffi_splice_test.res similarity index 93% rename from jscomp/test/ffi_splice_test.res rename to tests/tests/src/ffi_splice_test.res index bf820c3b8e..064a4c1711 100644 --- a/jscomp/test/ffi_splice_test.res +++ b/tests/tests/src/ffi_splice_test.res @@ -9,10 +9,6 @@ let eq = (loc, x, y) => { } } -/* -[%%raw [@import \"jscomp/test/xx.js\"]] (* PATH relative to package.json *) -*/ - %%raw(` function Make (){ this.data = [] diff --git a/jscomp/test/ffi_test.js b/tests/tests/src/ffi_test.js similarity index 100% rename from jscomp/test/ffi_test.js rename to tests/tests/src/ffi_test.js diff --git a/jscomp/test/ffi_test.res b/tests/tests/src/ffi_test.res similarity index 100% rename from jscomp/test/ffi_test.res rename to tests/tests/src/ffi_test.res diff --git a/jscomp/test/fib.js b/tests/tests/src/fib.js similarity index 100% rename from jscomp/test/fib.js rename to tests/tests/src/fib.js diff --git a/jscomp/test/fib.res b/tests/tests/src/fib.res similarity index 100% rename from jscomp/test/fib.res rename to tests/tests/src/fib.res diff --git a/jscomp/test/flattern_order_test.js b/tests/tests/src/flattern_order_test.js similarity index 100% rename from jscomp/test/flattern_order_test.js rename to tests/tests/src/flattern_order_test.js diff --git a/jscomp/test/flattern_order_test.res b/tests/tests/src/flattern_order_test.res similarity index 100% rename from jscomp/test/flattern_order_test.res rename to tests/tests/src/flattern_order_test.res diff --git a/jscomp/test/flexible_array_test.js b/tests/tests/src/flexible_array_test.js similarity index 96% rename from jscomp/test/flexible_array_test.js rename to tests/tests/src/flexible_array_test.js index 77a5eb86e2..8b53d5b11a 100644 --- a/jscomp/test/flexible_array_test.js +++ b/tests/tests/src/flexible_array_test.js @@ -1,9 +1,9 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_Array = require("../../lib/js/belt_Array.js"); -let Primitive_array = require("../../lib/js/primitive_array.js"); -let Primitive_object = require("../../lib/js/primitive_object.js"); +let Belt_Array = require("rescript/lib/js/belt_Array.js"); +let Primitive_array = require("rescript/lib/js/primitive_array.js"); +let Primitive_object = require("rescript/lib/js/primitive_object.js"); function sub(_tr, _k) { while (true) { diff --git a/jscomp/test/flexible_array_test.res b/tests/tests/src/flexible_array_test.res similarity index 100% rename from jscomp/test/flexible_array_test.res rename to tests/tests/src/flexible_array_test.res diff --git a/jscomp/test/float_array.js b/tests/tests/src/float_array.js similarity index 100% rename from jscomp/test/float_array.js rename to tests/tests/src/float_array.js diff --git a/jscomp/test/float_array.res b/tests/tests/src/float_array.res similarity index 100% rename from jscomp/test/float_array.res rename to tests/tests/src/float_array.res diff --git a/jscomp/test/float_record.js b/tests/tests/src/float_record.js similarity index 100% rename from jscomp/test/float_record.js rename to tests/tests/src/float_record.js diff --git a/jscomp/test/float_record.res b/tests/tests/src/float_record.res similarity index 100% rename from jscomp/test/float_record.res rename to tests/tests/src/float_record.res diff --git a/jscomp/test/float_record.resi b/tests/tests/src/float_record.resi similarity index 100% rename from jscomp/test/float_record.resi rename to tests/tests/src/float_record.resi diff --git a/jscomp/test/float_test.js b/tests/tests/src/float_test.js similarity index 95% rename from jscomp/test/float_test.js rename to tests/tests/src/float_test.js index b4a0a5c128..091d257ea4 100644 --- a/jscomp/test/float_test.js +++ b/tests/tests/src/float_test.js @@ -1,12 +1,12 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_List = require("../../lib/js/belt_List.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); let Mt_global = require("./mt_global.js"); -let Belt_Array = require("../../lib/js/belt_Array.js"); -let Pervasives = require("../../lib/js/pervasives.js"); -let Primitive_float = require("../../lib/js/primitive_float.js"); -let Primitive_object = require("../../lib/js/primitive_object.js"); +let Belt_Array = require("rescript/lib/js/belt_Array.js"); +let Pervasives = require("rescript/lib/js/pervasives.js"); +let Primitive_float = require("rescript/lib/js/primitive_float.js"); +let Primitive_object = require("rescript/lib/js/primitive_object.js"); let test_id = { contents: 0 diff --git a/jscomp/test/float_test.res b/tests/tests/src/float_test.res similarity index 100% rename from jscomp/test/float_test.res rename to tests/tests/src/float_test.res diff --git a/jscomp/test/for_loop_test.js b/tests/tests/src/for_loop_test.js similarity index 96% rename from jscomp/test/for_loop_test.js rename to tests/tests/src/for_loop_test.js index aa2e40fc74..b4d5233ce6 100644 --- a/jscomp/test/for_loop_test.js +++ b/tests/tests/src/for_loop_test.js @@ -1,9 +1,9 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_List = require("../../lib/js/belt_List.js"); -let Belt_Array = require("../../lib/js/belt_Array.js"); -let Primitive_array = require("../../lib/js/primitive_array.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); +let Belt_Array = require("rescript/lib/js/belt_Array.js"); +let Primitive_array = require("rescript/lib/js/primitive_array.js"); function for_3(x) { let v = { diff --git a/jscomp/test/for_loop_test.res b/tests/tests/src/for_loop_test.res similarity index 100% rename from jscomp/test/for_loop_test.res rename to tests/tests/src/for_loop_test.res diff --git a/jscomp/test/for_side_effect_test.js b/tests/tests/src/for_side_effect_test.js similarity index 100% rename from jscomp/test/for_side_effect_test.js rename to tests/tests/src/for_side_effect_test.js diff --git a/jscomp/test/for_side_effect_test.res b/tests/tests/src/for_side_effect_test.res similarity index 100% rename from jscomp/test/for_side_effect_test.res rename to tests/tests/src/for_side_effect_test.res diff --git a/jscomp/test/format_regression.js b/tests/tests/src/format_regression.js similarity index 100% rename from jscomp/test/format_regression.js rename to tests/tests/src/format_regression.js diff --git a/jscomp/test/format_regression.res b/tests/tests/src/format_regression.res similarity index 100% rename from jscomp/test/format_regression.res rename to tests/tests/src/format_regression.res diff --git a/jscomp/test/fun_pattern_match.js b/tests/tests/src/fun_pattern_match.js similarity index 96% rename from jscomp/test/fun_pattern_match.js rename to tests/tests/src/fun_pattern_match.js index 5e7c8e1637..9585a857ae 100644 --- a/jscomp/test/fun_pattern_match.js +++ b/tests/tests/src/fun_pattern_match.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Primitive_int = require("../../lib/js/primitive_int.js"); +let Primitive_int = require("rescript/lib/js/primitive_int.js"); function f(param, v) { return ((((param.x0 + param.x1 | 0) + param.x2 | 0) + param.x3 | 0) + param.x4 | 0) + v | 0; diff --git a/jscomp/test/fun_pattern_match.res b/tests/tests/src/fun_pattern_match.res similarity index 100% rename from jscomp/test/fun_pattern_match.res rename to tests/tests/src/fun_pattern_match.res diff --git a/jscomp/test/function_directives.js b/tests/tests/src/function_directives.js similarity index 100% rename from jscomp/test/function_directives.js rename to tests/tests/src/function_directives.js diff --git a/jscomp/test/function_directives.res b/tests/tests/src/function_directives.res similarity index 100% rename from jscomp/test/function_directives.res rename to tests/tests/src/function_directives.res diff --git a/jscomp/test/function_directives_no_inline.js b/tests/tests/src/function_directives_no_inline.js similarity index 100% rename from jscomp/test/function_directives_no_inline.js rename to tests/tests/src/function_directives_no_inline.js diff --git a/jscomp/test/function_directives_no_inline.res b/tests/tests/src/function_directives_no_inline.res similarity index 100% rename from jscomp/test/function_directives_no_inline.res rename to tests/tests/src/function_directives_no_inline.res diff --git a/jscomp/test/functor_app_test.js b/tests/tests/src/functor_app_test.js similarity index 100% rename from jscomp/test/functor_app_test.js rename to tests/tests/src/functor_app_test.js diff --git a/jscomp/test/functor_app_test.res b/tests/tests/src/functor_app_test.res similarity index 100% rename from jscomp/test/functor_app_test.res rename to tests/tests/src/functor_app_test.res diff --git a/jscomp/test/functor_def.js b/tests/tests/src/functor_def.js similarity index 100% rename from jscomp/test/functor_def.js rename to tests/tests/src/functor_def.js diff --git a/jscomp/test/functor_def.res b/tests/tests/src/functor_def.res similarity index 100% rename from jscomp/test/functor_def.res rename to tests/tests/src/functor_def.res diff --git a/jscomp/test/functor_ffi.js b/tests/tests/src/functor_ffi.js similarity index 86% rename from jscomp/test/functor_ffi.js rename to tests/tests/src/functor_ffi.js index bf32551bd7..32f4e5809f 100644 --- a/jscomp/test/functor_ffi.js +++ b/tests/tests/src/functor_ffi.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Primitive_option = require("../../lib/js/primitive_option.js"); +let Primitive_option = require("rescript/lib/js/primitive_option.js"); function Make(S) { let opt_get = (f, i) => Primitive_option.fromUndefined(f[i]); diff --git a/jscomp/test/functor_ffi.res b/tests/tests/src/functor_ffi.res similarity index 100% rename from jscomp/test/functor_ffi.res rename to tests/tests/src/functor_ffi.res diff --git a/jscomp/test/functor_inst.js b/tests/tests/src/functor_inst.js similarity index 100% rename from jscomp/test/functor_inst.js rename to tests/tests/src/functor_inst.js diff --git a/jscomp/test/functor_inst.res b/tests/tests/src/functor_inst.res similarity index 100% rename from jscomp/test/functor_inst.res rename to tests/tests/src/functor_inst.res diff --git a/jscomp/test/functors.js b/tests/tests/src/functors.js similarity index 100% rename from jscomp/test/functors.js rename to tests/tests/src/functors.js diff --git a/jscomp/test/functors.res b/tests/tests/src/functors.res similarity index 100% rename from jscomp/test/functors.res rename to tests/tests/src/functors.res diff --git a/jscomp/test/gbk.js b/tests/tests/src/gbk.js similarity index 100% rename from jscomp/test/gbk.js rename to tests/tests/src/gbk.js diff --git a/jscomp/test/gbk.res b/tests/tests/src/gbk.res similarity index 100% rename from jscomp/test/gbk.res rename to tests/tests/src/gbk.res diff --git a/jscomp/test/gentTypeReTest.js b/tests/tests/src/gentTypeReTest.js similarity index 100% rename from jscomp/test/gentTypeReTest.js rename to tests/tests/src/gentTypeReTest.js diff --git a/jscomp/test/gentTypeReTest.res b/tests/tests/src/gentTypeReTest.res similarity index 100% rename from jscomp/test/gentTypeReTest.res rename to tests/tests/src/gentTypeReTest.res diff --git a/tests/tests/src/glob_test_add.js b/tests/tests/src/glob_test_add.js new file mode 100644 index 0000000000..236426944d --- /dev/null +++ b/tests/tests/src/glob_test_add.js @@ -0,0 +1,10 @@ +// Generated by ReScript, PLEASE EDIT WITH CARE +'use strict'; + + +function add(x, y) { + return x + y | 0; +} + +exports.add = add; +/* No side effect */ diff --git a/jscomp/test/glob/glob_test_add.res b/tests/tests/src/glob_test_add.res similarity index 100% rename from jscomp/test/glob/glob_test_add.res rename to tests/tests/src/glob_test_add.res diff --git a/tests/tests/src/glob_test_u.js b/tests/tests/src/glob_test_u.js new file mode 100644 index 0000000000..7fe7ff01f9 --- /dev/null +++ b/tests/tests/src/glob_test_u.js @@ -0,0 +1,9 @@ +// Generated by ReScript, PLEASE EDIT WITH CARE +'use strict'; + +let Glob_u = require("./glob_u.js"); + +let v = Glob_u.v; + +exports.v = v; +/* No side effect */ diff --git a/jscomp/test/glob/glob_test_u.res b/tests/tests/src/glob_test_u.res similarity index 100% rename from jscomp/test/glob/glob_test_u.res rename to tests/tests/src/glob_test_u.res diff --git a/tests/tests/src/glob_u.js b/tests/tests/src/glob_u.js new file mode 100644 index 0000000000..e49a9a2be3 --- /dev/null +++ b/tests/tests/src/glob_u.js @@ -0,0 +1,8 @@ +// Generated by ReScript, PLEASE EDIT WITH CARE +'use strict'; + + +let v = 3; + +exports.v = v; +/* No side effect */ diff --git a/jscomp/test/glob/glob_u.res b/tests/tests/src/glob_u.res similarity index 100% rename from jscomp/test/glob/glob_u.res rename to tests/tests/src/glob_u.res diff --git a/tests/tests/src/glob_x.js b/tests/tests/src/glob_x.js new file mode 100644 index 0000000000..8e4cf0d74c --- /dev/null +++ b/tests/tests/src/glob_x.js @@ -0,0 +1,8 @@ +// Generated by ReScript, PLEASE EDIT WITH CARE +'use strict'; + + +let v = 32; + +exports.v = v; +/* No side effect */ diff --git a/jscomp/test/glob/glob_x.res b/tests/tests/src/glob_x.res similarity index 100% rename from jscomp/test/glob/glob_x.res rename to tests/tests/src/glob_x.res diff --git a/jscomp/test/global_exception_regression_test.js b/tests/tests/src/global_exception_regression_test.js similarity index 100% rename from jscomp/test/global_exception_regression_test.js rename to tests/tests/src/global_exception_regression_test.js diff --git a/jscomp/test/global_exception_regression_test.res b/tests/tests/src/global_exception_regression_test.res similarity index 100% rename from jscomp/test/global_exception_regression_test.res rename to tests/tests/src/global_exception_regression_test.res diff --git a/jscomp/test/global_mangles.js b/tests/tests/src/global_mangles.js similarity index 100% rename from jscomp/test/global_mangles.js rename to tests/tests/src/global_mangles.js diff --git a/jscomp/test/global_mangles.res b/tests/tests/src/global_mangles.res similarity index 100% rename from jscomp/test/global_mangles.res rename to tests/tests/src/global_mangles.res diff --git a/jscomp/test/global_module_alias_test.js b/tests/tests/src/global_module_alias_test.js similarity index 98% rename from jscomp/test/global_module_alias_test.js rename to tests/tests/src/global_module_alias_test.js index 4e52e501c5..cd676cde1d 100644 --- a/jscomp/test/global_module_alias_test.js +++ b/tests/tests/src/global_module_alias_test.js @@ -2,7 +2,7 @@ 'use strict'; let Mt = require("./mt.js"); -let Belt_List = require("../../lib/js/belt_List.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/global_module_alias_test.res b/tests/tests/src/global_module_alias_test.res similarity index 100% rename from jscomp/test/global_module_alias_test.res rename to tests/tests/src/global_module_alias_test.res diff --git a/jscomp/test/google_closure_test.js b/tests/tests/src/google_closure_test.js similarity index 100% rename from jscomp/test/google_closure_test.js rename to tests/tests/src/google_closure_test.js diff --git a/jscomp/test/google_closure_test.res b/tests/tests/src/google_closure_test.res similarity index 100% rename from jscomp/test/google_closure_test.res rename to tests/tests/src/google_closure_test.res diff --git a/jscomp/test/gpr496_test.js b/tests/tests/src/gpr496_test.js similarity index 94% rename from jscomp/test/gpr496_test.js rename to tests/tests/src/gpr496_test.js index e99639332d..130abd751d 100644 --- a/jscomp/test/gpr496_test.js +++ b/tests/tests/src/gpr496_test.js @@ -2,7 +2,7 @@ 'use strict'; let Mt = require("./mt.js"); -let Primitive_bool = require("../../lib/js/primitive_bool.js"); +let Primitive_bool = require("rescript/lib/js/primitive_bool.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/gpr496_test.res b/tests/tests/src/gpr496_test.res similarity index 100% rename from jscomp/test/gpr496_test.res rename to tests/tests/src/gpr496_test.res diff --git a/jscomp/test/gpr_1072.js b/tests/tests/src/gpr_1072.js similarity index 100% rename from jscomp/test/gpr_1072.js rename to tests/tests/src/gpr_1072.js diff --git a/jscomp/test/gpr_1072.res b/tests/tests/src/gpr_1072.res similarity index 100% rename from jscomp/test/gpr_1072.res rename to tests/tests/src/gpr_1072.res diff --git a/jscomp/test/gpr_1072_reg.js b/tests/tests/src/gpr_1072_reg.js similarity index 100% rename from jscomp/test/gpr_1072_reg.js rename to tests/tests/src/gpr_1072_reg.js diff --git a/jscomp/test/gpr_1072_reg.res b/tests/tests/src/gpr_1072_reg.res similarity index 100% rename from jscomp/test/gpr_1072_reg.res rename to tests/tests/src/gpr_1072_reg.res diff --git a/jscomp/test/gpr_1150.js b/tests/tests/src/gpr_1150.js similarity index 100% rename from jscomp/test/gpr_1150.js rename to tests/tests/src/gpr_1150.js diff --git a/jscomp/test/gpr_1150.res b/tests/tests/src/gpr_1150.res similarity index 100% rename from jscomp/test/gpr_1150.res rename to tests/tests/src/gpr_1150.res diff --git a/jscomp/test/gpr_1170.js b/tests/tests/src/gpr_1170.js similarity index 100% rename from jscomp/test/gpr_1170.js rename to tests/tests/src/gpr_1170.js diff --git a/jscomp/test/gpr_1170.res b/tests/tests/src/gpr_1170.res similarity index 100% rename from jscomp/test/gpr_1170.res rename to tests/tests/src/gpr_1170.res diff --git a/jscomp/test/gpr_1240_missing_unbox.js b/tests/tests/src/gpr_1240_missing_unbox.js similarity index 100% rename from jscomp/test/gpr_1240_missing_unbox.js rename to tests/tests/src/gpr_1240_missing_unbox.js diff --git a/jscomp/test/gpr_1240_missing_unbox.res b/tests/tests/src/gpr_1240_missing_unbox.res similarity index 100% rename from jscomp/test/gpr_1240_missing_unbox.res rename to tests/tests/src/gpr_1240_missing_unbox.res diff --git a/jscomp/test/gpr_1245_test.js b/tests/tests/src/gpr_1245_test.js similarity index 91% rename from jscomp/test/gpr_1245_test.js rename to tests/tests/src/gpr_1245_test.js index 95c87c2ef3..8280dc71d4 100644 --- a/jscomp/test/gpr_1245_test.js +++ b/tests/tests/src/gpr_1245_test.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Primitive_exceptions = require("../../lib/js/primitive_exceptions.js"); +let Primitive_exceptions = require("rescript/lib/js/primitive_exceptions.js"); let x = { contents: 1 diff --git a/jscomp/test/gpr_1245_test.res b/tests/tests/src/gpr_1245_test.res similarity index 100% rename from jscomp/test/gpr_1245_test.res rename to tests/tests/src/gpr_1245_test.res diff --git a/jscomp/test/gpr_1268.js b/tests/tests/src/gpr_1268.js similarity index 100% rename from jscomp/test/gpr_1268.js rename to tests/tests/src/gpr_1268.js diff --git a/jscomp/test/gpr_1268.res b/tests/tests/src/gpr_1268.res similarity index 100% rename from jscomp/test/gpr_1268.res rename to tests/tests/src/gpr_1268.res diff --git a/jscomp/test/gpr_1409_test.js b/tests/tests/src/gpr_1409_test.js similarity index 96% rename from jscomp/test/gpr_1409_test.js rename to tests/tests/src/gpr_1409_test.js index 3e72c1d893..09185ef28c 100644 --- a/jscomp/test/gpr_1409_test.js +++ b/tests/tests/src/gpr_1409_test.js @@ -2,9 +2,9 @@ 'use strict'; let Mt = require("./mt.js"); -let Belt_List = require("../../lib/js/belt_List.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); let String_set = require("./string_set.js"); -let Primitive_option = require("../../lib/js/primitive_option.js"); +let Primitive_option = require("rescript/lib/js/primitive_option.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/gpr_1409_test.res b/tests/tests/src/gpr_1409_test.res similarity index 100% rename from jscomp/test/gpr_1409_test.res rename to tests/tests/src/gpr_1409_test.res diff --git a/jscomp/test/gpr_1423_app_test.js b/tests/tests/src/gpr_1423_app_test.js similarity index 100% rename from jscomp/test/gpr_1423_app_test.js rename to tests/tests/src/gpr_1423_app_test.js diff --git a/jscomp/test/gpr_1423_app_test.res b/tests/tests/src/gpr_1423_app_test.res similarity index 100% rename from jscomp/test/gpr_1423_app_test.res rename to tests/tests/src/gpr_1423_app_test.res diff --git a/jscomp/test/gpr_1423_nav.js b/tests/tests/src/gpr_1423_nav.js similarity index 100% rename from jscomp/test/gpr_1423_nav.js rename to tests/tests/src/gpr_1423_nav.js diff --git a/jscomp/test/gpr_1423_nav.res b/tests/tests/src/gpr_1423_nav.res similarity index 100% rename from jscomp/test/gpr_1423_nav.res rename to tests/tests/src/gpr_1423_nav.res diff --git a/jscomp/test/gpr_1438.js b/tests/tests/src/gpr_1438.js similarity index 100% rename from jscomp/test/gpr_1438.js rename to tests/tests/src/gpr_1438.js diff --git a/jscomp/test/gpr_1438.res b/tests/tests/src/gpr_1438.res similarity index 100% rename from jscomp/test/gpr_1438.res rename to tests/tests/src/gpr_1438.res diff --git a/jscomp/test/gpr_1481.js b/tests/tests/src/gpr_1481.js similarity index 100% rename from jscomp/test/gpr_1481.js rename to tests/tests/src/gpr_1481.js diff --git a/jscomp/test/gpr_1481.res b/tests/tests/src/gpr_1481.res similarity index 100% rename from jscomp/test/gpr_1481.res rename to tests/tests/src/gpr_1481.res diff --git a/jscomp/test/gpr_1484.js b/tests/tests/src/gpr_1484.js similarity index 100% rename from jscomp/test/gpr_1484.js rename to tests/tests/src/gpr_1484.js diff --git a/jscomp/test/gpr_1484.res b/tests/tests/src/gpr_1484.res similarity index 100% rename from jscomp/test/gpr_1484.res rename to tests/tests/src/gpr_1484.res diff --git a/jscomp/test/gpr_1539_test.js b/tests/tests/src/gpr_1539_test.js similarity index 86% rename from jscomp/test/gpr_1539_test.js rename to tests/tests/src/gpr_1539_test.js index 6fa24f0d57..3cd87fcdde 100644 --- a/jscomp/test/gpr_1539_test.js +++ b/tests/tests/src/gpr_1539_test.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Primitive_module = require("../../lib/js/primitive_module.js"); +let Primitive_module = require("rescript/lib/js/primitive_module.js"); let Point = Primitive_module.init([ "gpr_1539_test.res", diff --git a/jscomp/test/gpr_1539_test.res b/tests/tests/src/gpr_1539_test.res similarity index 100% rename from jscomp/test/gpr_1539_test.res rename to tests/tests/src/gpr_1539_test.res diff --git a/jscomp/test/gpr_1658_test.js b/tests/tests/src/gpr_1658_test.js similarity index 95% rename from jscomp/test/gpr_1658_test.js rename to tests/tests/src/gpr_1658_test.js index 6da586473f..2d172321d3 100644 --- a/jscomp/test/gpr_1658_test.js +++ b/tests/tests/src/gpr_1658_test.js @@ -2,7 +2,7 @@ 'use strict'; let Mt = require("./mt.js"); -let Js_types = require("../../lib/js/js_types.js"); +let Js_types = require("rescript/lib/js/js_types.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/gpr_1658_test.res b/tests/tests/src/gpr_1658_test.res similarity index 100% rename from jscomp/test/gpr_1658_test.res rename to tests/tests/src/gpr_1658_test.res diff --git a/jscomp/test/gpr_1667_test.js b/tests/tests/src/gpr_1667_test.js similarity index 100% rename from jscomp/test/gpr_1667_test.js rename to tests/tests/src/gpr_1667_test.js diff --git a/jscomp/test/gpr_1667_test.res b/tests/tests/src/gpr_1667_test.res similarity index 100% rename from jscomp/test/gpr_1667_test.res rename to tests/tests/src/gpr_1667_test.res diff --git a/jscomp/test/gpr_1692_test.js b/tests/tests/src/gpr_1692_test.js similarity index 100% rename from jscomp/test/gpr_1692_test.js rename to tests/tests/src/gpr_1692_test.js diff --git a/jscomp/test/gpr_1692_test.res b/tests/tests/src/gpr_1692_test.res similarity index 100% rename from jscomp/test/gpr_1692_test.res rename to tests/tests/src/gpr_1692_test.res diff --git a/jscomp/test/gpr_1698_test.js b/tests/tests/src/gpr_1698_test.js similarity index 100% rename from jscomp/test/gpr_1698_test.js rename to tests/tests/src/gpr_1698_test.js diff --git a/jscomp/test/gpr_1698_test.res b/tests/tests/src/gpr_1698_test.res similarity index 100% rename from jscomp/test/gpr_1698_test.res rename to tests/tests/src/gpr_1698_test.res diff --git a/jscomp/test/gpr_1701_test.js b/tests/tests/src/gpr_1701_test.js similarity index 93% rename from jscomp/test/gpr_1701_test.js rename to tests/tests/src/gpr_1701_test.js index a452a89361..ed71943e06 100644 --- a/jscomp/test/gpr_1701_test.js +++ b/tests/tests/src/gpr_1701_test.js @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_List = require("../../lib/js/belt_List.js"); -let Primitive_exceptions = require("../../lib/js/primitive_exceptions.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); +let Primitive_exceptions = require("rescript/lib/js/primitive_exceptions.js"); let Foo = /* @__PURE__ */Primitive_exceptions.create("Gpr_1701_test.Foo"); diff --git a/jscomp/test/gpr_1701_test.res b/tests/tests/src/gpr_1701_test.res similarity index 100% rename from jscomp/test/gpr_1701_test.res rename to tests/tests/src/gpr_1701_test.res diff --git a/jscomp/test/gpr_1716_test.js b/tests/tests/src/gpr_1716_test.js similarity index 92% rename from jscomp/test/gpr_1716_test.js rename to tests/tests/src/gpr_1716_test.js index e51ee0b7fd..977326acda 100644 --- a/jscomp/test/gpr_1716_test.js +++ b/tests/tests/src/gpr_1716_test.js @@ -2,7 +2,7 @@ 'use strict'; let Mt = require("./mt.js"); -let Primitive_object = require("../../lib/js/primitive_object.js"); +let Primitive_object = require("rescript/lib/js/primitive_object.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/gpr_1716_test.res b/tests/tests/src/gpr_1716_test.res similarity index 100% rename from jscomp/test/gpr_1716_test.res rename to tests/tests/src/gpr_1716_test.res diff --git a/jscomp/test/gpr_1717_test.js b/tests/tests/src/gpr_1717_test.js similarity index 100% rename from jscomp/test/gpr_1717_test.js rename to tests/tests/src/gpr_1717_test.js diff --git a/jscomp/test/gpr_1717_test.res b/tests/tests/src/gpr_1717_test.res similarity index 100% rename from jscomp/test/gpr_1717_test.res rename to tests/tests/src/gpr_1717_test.res diff --git a/jscomp/test/gpr_1728_test.js b/tests/tests/src/gpr_1728_test.js similarity index 100% rename from jscomp/test/gpr_1728_test.js rename to tests/tests/src/gpr_1728_test.js diff --git a/jscomp/test/gpr_1728_test.res b/tests/tests/src/gpr_1728_test.res similarity index 100% rename from jscomp/test/gpr_1728_test.res rename to tests/tests/src/gpr_1728_test.res diff --git a/jscomp/test/gpr_1749_test.js b/tests/tests/src/gpr_1749_test.js similarity index 100% rename from jscomp/test/gpr_1749_test.js rename to tests/tests/src/gpr_1749_test.js diff --git a/jscomp/test/gpr_1749_test.res b/tests/tests/src/gpr_1749_test.res similarity index 100% rename from jscomp/test/gpr_1749_test.res rename to tests/tests/src/gpr_1749_test.res diff --git a/jscomp/test/gpr_1759_test.js b/tests/tests/src/gpr_1759_test.js similarity index 100% rename from jscomp/test/gpr_1759_test.js rename to tests/tests/src/gpr_1759_test.js diff --git a/jscomp/test/gpr_1759_test.res b/tests/tests/src/gpr_1759_test.res similarity index 100% rename from jscomp/test/gpr_1759_test.res rename to tests/tests/src/gpr_1759_test.res diff --git a/jscomp/test/gpr_1760_test.js b/tests/tests/src/gpr_1760_test.js similarity index 93% rename from jscomp/test/gpr_1760_test.js rename to tests/tests/src/gpr_1760_test.js index a542734cc0..7569d494ae 100644 --- a/jscomp/test/gpr_1760_test.js +++ b/tests/tests/src/gpr_1760_test.js @@ -2,7 +2,7 @@ 'use strict'; let Mt = require("./mt.js"); -let Primitive_int = require("../../lib/js/primitive_int.js"); +let Primitive_int = require("rescript/lib/js/primitive_int.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/gpr_1760_test.res b/tests/tests/src/gpr_1760_test.res similarity index 100% rename from jscomp/test/gpr_1760_test.res rename to tests/tests/src/gpr_1760_test.res diff --git a/jscomp/test/gpr_1762_test.js b/tests/tests/src/gpr_1762_test.js similarity index 100% rename from jscomp/test/gpr_1762_test.js rename to tests/tests/src/gpr_1762_test.js diff --git a/jscomp/test/gpr_1762_test.res b/tests/tests/src/gpr_1762_test.res similarity index 100% rename from jscomp/test/gpr_1762_test.res rename to tests/tests/src/gpr_1762_test.res diff --git a/jscomp/test/gpr_1817_test.js b/tests/tests/src/gpr_1817_test.js similarity index 93% rename from jscomp/test/gpr_1817_test.js rename to tests/tests/src/gpr_1817_test.js index 3bbc97fa2d..35ba0e4696 100644 --- a/jscomp/test/gpr_1817_test.js +++ b/tests/tests/src/gpr_1817_test.js @@ -2,7 +2,7 @@ 'use strict'; let Mt = require("./mt.js"); -let Primitive_object = require("../../lib/js/primitive_object.js"); +let Primitive_object = require("rescript/lib/js/primitive_object.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/gpr_1817_test.res b/tests/tests/src/gpr_1817_test.res similarity index 100% rename from jscomp/test/gpr_1817_test.res rename to tests/tests/src/gpr_1817_test.res diff --git a/jscomp/test/gpr_1822_test.js b/tests/tests/src/gpr_1822_test.js similarity index 100% rename from jscomp/test/gpr_1822_test.js rename to tests/tests/src/gpr_1822_test.js diff --git a/jscomp/test/gpr_1822_test.res b/tests/tests/src/gpr_1822_test.res similarity index 100% rename from jscomp/test/gpr_1822_test.res rename to tests/tests/src/gpr_1822_test.res diff --git a/jscomp/test/gpr_1891_test.js b/tests/tests/src/gpr_1891_test.js similarity index 100% rename from jscomp/test/gpr_1891_test.js rename to tests/tests/src/gpr_1891_test.js diff --git a/jscomp/test/gpr_1891_test.res b/tests/tests/src/gpr_1891_test.res similarity index 100% rename from jscomp/test/gpr_1891_test.res rename to tests/tests/src/gpr_1891_test.res diff --git a/jscomp/test/gpr_1943_test.js b/tests/tests/src/gpr_1943_test.js similarity index 100% rename from jscomp/test/gpr_1943_test.js rename to tests/tests/src/gpr_1943_test.js diff --git a/jscomp/test/gpr_1943_test.res b/tests/tests/src/gpr_1943_test.res similarity index 100% rename from jscomp/test/gpr_1943_test.res rename to tests/tests/src/gpr_1943_test.res diff --git a/jscomp/test/gpr_1946_test.js b/tests/tests/src/gpr_1946_test.js similarity index 100% rename from jscomp/test/gpr_1946_test.js rename to tests/tests/src/gpr_1946_test.js diff --git a/jscomp/test/gpr_1946_test.res b/tests/tests/src/gpr_1946_test.res similarity index 100% rename from jscomp/test/gpr_1946_test.res rename to tests/tests/src/gpr_1946_test.res diff --git a/jscomp/test/gpr_2316_test.js b/tests/tests/src/gpr_2316_test.js similarity index 94% rename from jscomp/test/gpr_2316_test.js rename to tests/tests/src/gpr_2316_test.js index 0c63484372..75a2d85d7a 100644 --- a/jscomp/test/gpr_2316_test.js +++ b/tests/tests/src/gpr_2316_test.js @@ -2,7 +2,7 @@ 'use strict'; let Mt = require("./mt.js"); -let Primitive_exceptions = require("../../lib/js/primitive_exceptions.js"); +let Primitive_exceptions = require("rescript/lib/js/primitive_exceptions.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/gpr_2316_test.res b/tests/tests/src/gpr_2316_test.res similarity index 100% rename from jscomp/test/gpr_2316_test.res rename to tests/tests/src/gpr_2316_test.res diff --git a/jscomp/test/gpr_2352_test.js b/tests/tests/src/gpr_2352_test.js similarity index 100% rename from jscomp/test/gpr_2352_test.js rename to tests/tests/src/gpr_2352_test.js diff --git a/jscomp/test/gpr_2352_test.res b/tests/tests/src/gpr_2352_test.res similarity index 100% rename from jscomp/test/gpr_2352_test.res rename to tests/tests/src/gpr_2352_test.res diff --git a/jscomp/test/gpr_2413_test.js b/tests/tests/src/gpr_2413_test.js similarity index 100% rename from jscomp/test/gpr_2413_test.js rename to tests/tests/src/gpr_2413_test.js diff --git a/jscomp/test/gpr_2413_test.res b/tests/tests/src/gpr_2413_test.res similarity index 100% rename from jscomp/test/gpr_2413_test.res rename to tests/tests/src/gpr_2413_test.res diff --git a/jscomp/test/gpr_2474.js b/tests/tests/src/gpr_2474.js similarity index 100% rename from jscomp/test/gpr_2474.js rename to tests/tests/src/gpr_2474.js diff --git a/jscomp/test/gpr_2474.res b/tests/tests/src/gpr_2474.res similarity index 100% rename from jscomp/test/gpr_2474.res rename to tests/tests/src/gpr_2474.res diff --git a/jscomp/test/gpr_2487.js b/tests/tests/src/gpr_2487.js similarity index 79% rename from jscomp/test/gpr_2487.js rename to tests/tests/src/gpr_2487.js index 517bf784b3..3f2979904d 100644 --- a/jscomp/test/gpr_2487.js +++ b/tests/tests/src/gpr_2487.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_Array = require("../../lib/js/belt_Array.js"); +let Belt_Array = require("rescript/lib/js/belt_Array.js"); let b = Belt_Array.eq([ 1, diff --git a/jscomp/test/gpr_2487.res b/tests/tests/src/gpr_2487.res similarity index 100% rename from jscomp/test/gpr_2487.res rename to tests/tests/src/gpr_2487.res diff --git a/jscomp/test/gpr_2503_test.js b/tests/tests/src/gpr_2503_test.js similarity index 96% rename from jscomp/test/gpr_2503_test.js rename to tests/tests/src/gpr_2503_test.js index 80d482c7ea..43b07790a3 100644 --- a/jscomp/test/gpr_2503_test.js +++ b/tests/tests/src/gpr_2503_test.js @@ -2,7 +2,7 @@ 'use strict'; let Mt = require("./mt.js"); -let Primitive_option = require("../../lib/js/primitive_option.js"); +let Primitive_option = require("rescript/lib/js/primitive_option.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/gpr_2503_test.res b/tests/tests/src/gpr_2503_test.res similarity index 100% rename from jscomp/test/gpr_2503_test.res rename to tests/tests/src/gpr_2503_test.res diff --git a/jscomp/test/gpr_2608_test.js b/tests/tests/src/gpr_2608_test.js similarity index 95% rename from jscomp/test/gpr_2608_test.js rename to tests/tests/src/gpr_2608_test.js index 94a1db8a63..e259297465 100644 --- a/jscomp/test/gpr_2608_test.js +++ b/tests/tests/src/gpr_2608_test.js @@ -2,7 +2,7 @@ 'use strict'; let Mt = require("./mt.js"); -let Belt_List = require("../../lib/js/belt_List.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/gpr_2608_test.res b/tests/tests/src/gpr_2608_test.res similarity index 100% rename from jscomp/test/gpr_2608_test.res rename to tests/tests/src/gpr_2608_test.res diff --git a/jscomp/test/gpr_2614_test.js b/tests/tests/src/gpr_2614_test.js similarity index 92% rename from jscomp/test/gpr_2614_test.js rename to tests/tests/src/gpr_2614_test.js index 124002d319..95ba159553 100644 --- a/jscomp/test/gpr_2614_test.js +++ b/tests/tests/src/gpr_2614_test.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Primitive_option = require("../../lib/js/primitive_option.js"); +let Primitive_option = require("rescript/lib/js/primitive_option.js"); let v = { "Content-Type": 3, diff --git a/jscomp/test/gpr_2614_test.res b/tests/tests/src/gpr_2614_test.res similarity index 100% rename from jscomp/test/gpr_2614_test.res rename to tests/tests/src/gpr_2614_test.res diff --git a/jscomp/test/gpr_2633_test.js b/tests/tests/src/gpr_2633_test.js similarity index 100% rename from jscomp/test/gpr_2633_test.js rename to tests/tests/src/gpr_2633_test.js diff --git a/jscomp/test/gpr_2633_test.res b/tests/tests/src/gpr_2633_test.res similarity index 100% rename from jscomp/test/gpr_2633_test.res rename to tests/tests/src/gpr_2633_test.res diff --git a/jscomp/test/gpr_2642_test.js b/tests/tests/src/gpr_2642_test.js similarity index 100% rename from jscomp/test/gpr_2642_test.js rename to tests/tests/src/gpr_2642_test.js diff --git a/jscomp/test/gpr_2642_test.res b/tests/tests/src/gpr_2642_test.res similarity index 100% rename from jscomp/test/gpr_2642_test.res rename to tests/tests/src/gpr_2642_test.res diff --git a/jscomp/test/gpr_2682_test.js b/tests/tests/src/gpr_2682_test.js similarity index 100% rename from jscomp/test/gpr_2682_test.js rename to tests/tests/src/gpr_2682_test.js diff --git a/jscomp/test/gpr_2682_test.res b/tests/tests/src/gpr_2682_test.res similarity index 100% rename from jscomp/test/gpr_2682_test.res rename to tests/tests/src/gpr_2682_test.res diff --git a/jscomp/test/gpr_2700_test.js b/tests/tests/src/gpr_2700_test.js similarity index 100% rename from jscomp/test/gpr_2700_test.js rename to tests/tests/src/gpr_2700_test.js diff --git a/jscomp/test/gpr_2700_test.res b/tests/tests/src/gpr_2700_test.res similarity index 100% rename from jscomp/test/gpr_2700_test.res rename to tests/tests/src/gpr_2700_test.res diff --git a/jscomp/test/gpr_2731_test.js b/tests/tests/src/gpr_2731_test.js similarity index 100% rename from jscomp/test/gpr_2731_test.js rename to tests/tests/src/gpr_2731_test.js diff --git a/jscomp/test/gpr_2731_test.res b/tests/tests/src/gpr_2731_test.res similarity index 100% rename from jscomp/test/gpr_2731_test.res rename to tests/tests/src/gpr_2731_test.res diff --git a/jscomp/test/gpr_2789_test.js b/tests/tests/src/gpr_2789_test.js similarity index 100% rename from jscomp/test/gpr_2789_test.js rename to tests/tests/src/gpr_2789_test.js diff --git a/jscomp/test/gpr_2789_test.res b/tests/tests/src/gpr_2789_test.res similarity index 100% rename from jscomp/test/gpr_2789_test.res rename to tests/tests/src/gpr_2789_test.res diff --git a/jscomp/test/gpr_2931_test.js b/tests/tests/src/gpr_2931_test.js similarity index 100% rename from jscomp/test/gpr_2931_test.js rename to tests/tests/src/gpr_2931_test.js diff --git a/jscomp/test/gpr_2931_test.res b/tests/tests/src/gpr_2931_test.res similarity index 100% rename from jscomp/test/gpr_2931_test.res rename to tests/tests/src/gpr_2931_test.res diff --git a/jscomp/test/gpr_3142_test.js b/tests/tests/src/gpr_3142_test.js similarity index 100% rename from jscomp/test/gpr_3142_test.js rename to tests/tests/src/gpr_3142_test.js diff --git a/jscomp/test/gpr_3142_test.res b/tests/tests/src/gpr_3142_test.res similarity index 100% rename from jscomp/test/gpr_3142_test.res rename to tests/tests/src/gpr_3142_test.res diff --git a/jscomp/test/gpr_3154_test.js b/tests/tests/src/gpr_3154_test.js similarity index 88% rename from jscomp/test/gpr_3154_test.js rename to tests/tests/src/gpr_3154_test.js index a2d5ca722a..819b7c2d61 100644 --- a/jscomp/test/gpr_3154_test.js +++ b/tests/tests/src/gpr_3154_test.js @@ -2,8 +2,8 @@ 'use strict'; let Mt = require("./mt.js"); -let Js_dict = require("../../lib/js/js_dict.js"); -let Primitive_option = require("../../lib/js/primitive_option.js"); +let Js_dict = require("rescript/lib/js/js_dict.js"); +let Primitive_option = require("rescript/lib/js/primitive_option.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/gpr_3154_test.res b/tests/tests/src/gpr_3154_test.res similarity index 100% rename from jscomp/test/gpr_3154_test.res rename to tests/tests/src/gpr_3154_test.res diff --git a/jscomp/test/gpr_3209_test.js b/tests/tests/src/gpr_3209_test.js similarity index 100% rename from jscomp/test/gpr_3209_test.js rename to tests/tests/src/gpr_3209_test.js diff --git a/jscomp/test/gpr_3209_test.res b/tests/tests/src/gpr_3209_test.res similarity index 100% rename from jscomp/test/gpr_3209_test.res rename to tests/tests/src/gpr_3209_test.res diff --git a/jscomp/test/gpr_3492_test.js b/tests/tests/src/gpr_3492_test.js similarity index 100% rename from jscomp/test/gpr_3492_test.js rename to tests/tests/src/gpr_3492_test.js diff --git a/jscomp/test/gpr_3492_test.res b/tests/tests/src/gpr_3492_test.res similarity index 100% rename from jscomp/test/gpr_3492_test.res rename to tests/tests/src/gpr_3492_test.res diff --git a/jscomp/test/gpr_3519_jsx_test.js b/tests/tests/src/gpr_3519_jsx_test.js similarity index 100% rename from jscomp/test/gpr_3519_jsx_test.js rename to tests/tests/src/gpr_3519_jsx_test.js diff --git a/jscomp/test/gpr_3519_jsx_test.res b/tests/tests/src/gpr_3519_jsx_test.res similarity index 100% rename from jscomp/test/gpr_3519_jsx_test.res rename to tests/tests/src/gpr_3519_jsx_test.res diff --git a/jscomp/test/gpr_3519_test.js b/tests/tests/src/gpr_3519_test.js similarity index 100% rename from jscomp/test/gpr_3519_test.js rename to tests/tests/src/gpr_3519_test.js diff --git a/jscomp/test/gpr_3519_test.res b/tests/tests/src/gpr_3519_test.res similarity index 100% rename from jscomp/test/gpr_3519_test.res rename to tests/tests/src/gpr_3519_test.res diff --git a/jscomp/test/gpr_3536_test.js b/tests/tests/src/gpr_3536_test.js similarity index 100% rename from jscomp/test/gpr_3536_test.js rename to tests/tests/src/gpr_3536_test.js diff --git a/jscomp/test/gpr_3536_test.res b/tests/tests/src/gpr_3536_test.res similarity index 100% rename from jscomp/test/gpr_3536_test.res rename to tests/tests/src/gpr_3536_test.res diff --git a/jscomp/test/gpr_3546_test.js b/tests/tests/src/gpr_3546_test.js similarity index 100% rename from jscomp/test/gpr_3546_test.js rename to tests/tests/src/gpr_3546_test.js diff --git a/jscomp/test/gpr_3546_test.res b/tests/tests/src/gpr_3546_test.res similarity index 100% rename from jscomp/test/gpr_3546_test.res rename to tests/tests/src/gpr_3546_test.res diff --git a/jscomp/test/gpr_3548_test.js b/tests/tests/src/gpr_3548_test.js similarity index 100% rename from jscomp/test/gpr_3548_test.js rename to tests/tests/src/gpr_3548_test.js diff --git a/jscomp/test/gpr_3548_test.res b/tests/tests/src/gpr_3548_test.res similarity index 100% rename from jscomp/test/gpr_3548_test.res rename to tests/tests/src/gpr_3548_test.res diff --git a/jscomp/test/gpr_3549_test.js b/tests/tests/src/gpr_3549_test.js similarity index 100% rename from jscomp/test/gpr_3549_test.js rename to tests/tests/src/gpr_3549_test.js diff --git a/jscomp/test/gpr_3549_test.res b/tests/tests/src/gpr_3549_test.res similarity index 100% rename from jscomp/test/gpr_3549_test.res rename to tests/tests/src/gpr_3549_test.res diff --git a/jscomp/test/gpr_3566_drive_test.js b/tests/tests/src/gpr_3566_drive_test.js similarity index 90% rename from jscomp/test/gpr_3566_drive_test.js rename to tests/tests/src/gpr_3566_drive_test.js index 0fbb9cedce..f20b73c26d 100644 --- a/jscomp/test/gpr_3566_drive_test.js +++ b/tests/tests/src/gpr_3566_drive_test.js @@ -3,7 +3,7 @@ let Mt = require("./mt.js"); let Gpr_3566_test = require("./gpr_3566_test.js"); -let Primitive_option = require("../../lib/js/primitive_option.js"); +let Primitive_option = require("rescript/lib/js/primitive_option.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/gpr_3566_drive_test.res b/tests/tests/src/gpr_3566_drive_test.res similarity index 100% rename from jscomp/test/gpr_3566_drive_test.res rename to tests/tests/src/gpr_3566_drive_test.res diff --git a/jscomp/test/gpr_3566_test.js b/tests/tests/src/gpr_3566_test.js similarity index 93% rename from jscomp/test/gpr_3566_test.js rename to tests/tests/src/gpr_3566_test.js index 371c900f04..642e1b6ee0 100644 --- a/jscomp/test/gpr_3566_test.js +++ b/tests/tests/src/gpr_3566_test.js @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Primitive_object = require("../../lib/js/primitive_object.js"); -let Primitive_option = require("../../lib/js/primitive_option.js"); +let Primitive_object = require("rescript/lib/js/primitive_object.js"); +let Primitive_option = require("rescript/lib/js/primitive_option.js"); function eq_A(x, y) { if (x.TAG === "A" && y.TAG === "A") { diff --git a/jscomp/test/gpr_3566_test.res b/tests/tests/src/gpr_3566_test.res similarity index 100% rename from jscomp/test/gpr_3566_test.res rename to tests/tests/src/gpr_3566_test.res diff --git a/jscomp/test/gpr_3595_test.js b/tests/tests/src/gpr_3595_test.js similarity index 100% rename from jscomp/test/gpr_3595_test.js rename to tests/tests/src/gpr_3595_test.js diff --git a/jscomp/test/gpr_3595_test.res b/tests/tests/src/gpr_3595_test.res similarity index 100% rename from jscomp/test/gpr_3595_test.res rename to tests/tests/src/gpr_3595_test.res diff --git a/jscomp/test/gpr_3609_test.js b/tests/tests/src/gpr_3609_test.js similarity index 100% rename from jscomp/test/gpr_3609_test.js rename to tests/tests/src/gpr_3609_test.js diff --git a/jscomp/test/gpr_3609_test.res b/tests/tests/src/gpr_3609_test.res similarity index 100% rename from jscomp/test/gpr_3609_test.res rename to tests/tests/src/gpr_3609_test.res diff --git a/jscomp/test/gpr_3697_test.js b/tests/tests/src/gpr_3697_test.js similarity index 90% rename from jscomp/test/gpr_3697_test.js rename to tests/tests/src/gpr_3697_test.js index 574c6a4087..81a6832368 100644 --- a/jscomp/test/gpr_3697_test.js +++ b/tests/tests/src/gpr_3697_test.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Lazy = require("../../lib/js/lazy.js"); +let Lazy = require("rescript/lib/js/lazy.js"); function fix() { return { diff --git a/jscomp/test/gpr_3697_test.res b/tests/tests/src/gpr_3697_test.res similarity index 100% rename from jscomp/test/gpr_3697_test.res rename to tests/tests/src/gpr_3697_test.res diff --git a/jscomp/test/gpr_373_test.js b/tests/tests/src/gpr_373_test.js similarity index 100% rename from jscomp/test/gpr_373_test.js rename to tests/tests/src/gpr_373_test.js diff --git a/jscomp/test/gpr_373_test.res b/tests/tests/src/gpr_373_test.res similarity index 100% rename from jscomp/test/gpr_373_test.res rename to tests/tests/src/gpr_373_test.res diff --git a/jscomp/test/gpr_3770_test.js b/tests/tests/src/gpr_3770_test.js similarity index 100% rename from jscomp/test/gpr_3770_test.js rename to tests/tests/src/gpr_3770_test.js diff --git a/jscomp/test/gpr_3770_test.res b/tests/tests/src/gpr_3770_test.res similarity index 100% rename from jscomp/test/gpr_3770_test.res rename to tests/tests/src/gpr_3770_test.res diff --git a/jscomp/test/gpr_3852_alias.js b/tests/tests/src/gpr_3852_alias.js similarity index 100% rename from jscomp/test/gpr_3852_alias.js rename to tests/tests/src/gpr_3852_alias.js diff --git a/jscomp/test/gpr_3852_alias.res b/tests/tests/src/gpr_3852_alias.res similarity index 100% rename from jscomp/test/gpr_3852_alias.res rename to tests/tests/src/gpr_3852_alias.res diff --git a/jscomp/test/gpr_3852_alias_reify.js b/tests/tests/src/gpr_3852_alias_reify.js similarity index 100% rename from jscomp/test/gpr_3852_alias_reify.js rename to tests/tests/src/gpr_3852_alias_reify.js diff --git a/jscomp/test/gpr_3852_alias_reify.res b/tests/tests/src/gpr_3852_alias_reify.res similarity index 100% rename from jscomp/test/gpr_3852_alias_reify.res rename to tests/tests/src/gpr_3852_alias_reify.res diff --git a/jscomp/test/gpr_3852_alias_reify.resi b/tests/tests/src/gpr_3852_alias_reify.resi similarity index 100% rename from jscomp/test/gpr_3852_alias_reify.resi rename to tests/tests/src/gpr_3852_alias_reify.resi diff --git a/jscomp/test/gpr_3852_effect.js b/tests/tests/src/gpr_3852_effect.js similarity index 100% rename from jscomp/test/gpr_3852_effect.js rename to tests/tests/src/gpr_3852_effect.js diff --git a/jscomp/test/gpr_3852_effect.res b/tests/tests/src/gpr_3852_effect.res similarity index 100% rename from jscomp/test/gpr_3852_effect.res rename to tests/tests/src/gpr_3852_effect.res diff --git a/jscomp/test/gpr_3865.js b/tests/tests/src/gpr_3865.js similarity index 100% rename from jscomp/test/gpr_3865.js rename to tests/tests/src/gpr_3865.js diff --git a/jscomp/test/gpr_3865.res b/tests/tests/src/gpr_3865.res similarity index 100% rename from jscomp/test/gpr_3865.res rename to tests/tests/src/gpr_3865.res diff --git a/jscomp/test/gpr_3865_bar.js b/tests/tests/src/gpr_3865_bar.js similarity index 100% rename from jscomp/test/gpr_3865_bar.js rename to tests/tests/src/gpr_3865_bar.js diff --git a/jscomp/test/gpr_3865_bar.res b/tests/tests/src/gpr_3865_bar.res similarity index 100% rename from jscomp/test/gpr_3865_bar.res rename to tests/tests/src/gpr_3865_bar.res diff --git a/jscomp/test/gpr_3865_foo.js b/tests/tests/src/gpr_3865_foo.js similarity index 100% rename from jscomp/test/gpr_3865_foo.js rename to tests/tests/src/gpr_3865_foo.js diff --git a/jscomp/test/gpr_3865_foo.res b/tests/tests/src/gpr_3865_foo.res similarity index 100% rename from jscomp/test/gpr_3865_foo.res rename to tests/tests/src/gpr_3865_foo.res diff --git a/jscomp/test/gpr_3875_test.js b/tests/tests/src/gpr_3875_test.js similarity index 100% rename from jscomp/test/gpr_3875_test.js rename to tests/tests/src/gpr_3875_test.js diff --git a/jscomp/test/gpr_3875_test.res b/tests/tests/src/gpr_3875_test.res similarity index 100% rename from jscomp/test/gpr_3875_test.res rename to tests/tests/src/gpr_3875_test.res diff --git a/jscomp/test/gpr_3877_test.js b/tests/tests/src/gpr_3877_test.js similarity index 100% rename from jscomp/test/gpr_3877_test.js rename to tests/tests/src/gpr_3877_test.js diff --git a/jscomp/test/gpr_3877_test.res b/tests/tests/src/gpr_3877_test.res similarity index 100% rename from jscomp/test/gpr_3877_test.res rename to tests/tests/src/gpr_3877_test.res diff --git a/jscomp/test/gpr_3895_test.js b/tests/tests/src/gpr_3895_test.js similarity index 100% rename from jscomp/test/gpr_3895_test.js rename to tests/tests/src/gpr_3895_test.js diff --git a/jscomp/test/gpr_3895_test.res b/tests/tests/src/gpr_3895_test.res similarity index 100% rename from jscomp/test/gpr_3895_test.res rename to tests/tests/src/gpr_3895_test.res diff --git a/jscomp/test/gpr_3897_test.js b/tests/tests/src/gpr_3897_test.js similarity index 100% rename from jscomp/test/gpr_3897_test.js rename to tests/tests/src/gpr_3897_test.js diff --git a/jscomp/test/gpr_3897_test.res b/tests/tests/src/gpr_3897_test.res similarity index 100% rename from jscomp/test/gpr_3897_test.res rename to tests/tests/src/gpr_3897_test.res diff --git a/jscomp/test/gpr_3931_test.js b/tests/tests/src/gpr_3931_test.js similarity index 85% rename from jscomp/test/gpr_3931_test.js rename to tests/tests/src/gpr_3931_test.js index d5a9083bbe..a236e166f3 100644 --- a/jscomp/test/gpr_3931_test.js +++ b/tests/tests/src/gpr_3931_test.js @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_Array = require("../../lib/js/belt_Array.js"); -let Primitive_module = require("../../lib/js/primitive_module.js"); +let Belt_Array = require("rescript/lib/js/belt_Array.js"); +let Primitive_module = require("rescript/lib/js/primitive_module.js"); let PA = Primitive_module.init([ "gpr_3931_test.res", diff --git a/jscomp/test/gpr_3931_test.res b/tests/tests/src/gpr_3931_test.res similarity index 100% rename from jscomp/test/gpr_3931_test.res rename to tests/tests/src/gpr_3931_test.res diff --git a/jscomp/test/gpr_3980_test.js b/tests/tests/src/gpr_3980_test.js similarity index 93% rename from jscomp/test/gpr_3980_test.js rename to tests/tests/src/gpr_3980_test.js index 3dc94cb04b..ee7c2c64f9 100644 --- a/jscomp/test/gpr_3980_test.js +++ b/tests/tests/src/gpr_3980_test.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Js_math = require("../../lib/js/js_math.js"); +let Js_math = require("rescript/lib/js/js_math.js"); let match = 1; diff --git a/jscomp/test/gpr_3980_test.res b/tests/tests/src/gpr_3980_test.res similarity index 100% rename from jscomp/test/gpr_3980_test.res rename to tests/tests/src/gpr_3980_test.res diff --git a/jscomp/test/gpr_4025_test.js b/tests/tests/src/gpr_4025_test.js similarity index 100% rename from jscomp/test/gpr_4025_test.js rename to tests/tests/src/gpr_4025_test.js diff --git a/jscomp/test/gpr_4025_test.res b/tests/tests/src/gpr_4025_test.res similarity index 100% rename from jscomp/test/gpr_4025_test.res rename to tests/tests/src/gpr_4025_test.res diff --git a/jscomp/test/gpr_4069_test.js b/tests/tests/src/gpr_4069_test.js similarity index 100% rename from jscomp/test/gpr_4069_test.js rename to tests/tests/src/gpr_4069_test.js diff --git a/jscomp/test/gpr_4069_test.res b/tests/tests/src/gpr_4069_test.res similarity index 100% rename from jscomp/test/gpr_4069_test.res rename to tests/tests/src/gpr_4069_test.res diff --git a/jscomp/test/gpr_4265_test.js b/tests/tests/src/gpr_4265_test.js similarity index 85% rename from jscomp/test/gpr_4265_test.js rename to tests/tests/src/gpr_4265_test.js index 56b6ad3757..30f8a89405 100644 --- a/jscomp/test/gpr_4265_test.js +++ b/tests/tests/src/gpr_4265_test.js @@ -2,8 +2,8 @@ 'use strict'; let Mt = require("./mt.js"); -let Belt_MutableMapInt = require("../../lib/js/belt_MutableMapInt.js"); -let Belt_internalMapInt = require("../../lib/js/belt_internalMapInt.js"); +let Belt_MutableMapInt = require("rescript/lib/js/belt_MutableMapInt.js"); +let Belt_internalMapInt = require("rescript/lib/js/belt_internalMapInt.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/gpr_4265_test.res b/tests/tests/src/gpr_4265_test.res similarity index 100% rename from jscomp/test/gpr_4265_test.res rename to tests/tests/src/gpr_4265_test.res diff --git a/jscomp/test/gpr_4274_test.js b/tests/tests/src/gpr_4274_test.js similarity index 79% rename from jscomp/test/gpr_4274_test.js rename to tests/tests/src/gpr_4274_test.js index c32273387d..21bd8ec4ee 100644 --- a/jscomp/test/gpr_4274_test.js +++ b/tests/tests/src/gpr_4274_test.js @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_List = require("../../lib/js/belt_List.js"); -let Belt_Array = require("../../lib/js/belt_Array.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); +let Belt_Array = require("rescript/lib/js/belt_Array.js"); let N = {}; diff --git a/jscomp/test/gpr_4274_test.res b/tests/tests/src/gpr_4274_test.res similarity index 100% rename from jscomp/test/gpr_4274_test.res rename to tests/tests/src/gpr_4274_test.res diff --git a/jscomp/test/gpr_4280_test.js b/tests/tests/src/gpr_4280_test.js similarity index 100% rename from jscomp/test/gpr_4280_test.js rename to tests/tests/src/gpr_4280_test.js diff --git a/jscomp/test/gpr_4280_test.res b/tests/tests/src/gpr_4280_test.res similarity index 100% rename from jscomp/test/gpr_4280_test.res rename to tests/tests/src/gpr_4280_test.res diff --git a/jscomp/test/gpr_4407_test.js b/tests/tests/src/gpr_4407_test.js similarity index 100% rename from jscomp/test/gpr_4407_test.js rename to tests/tests/src/gpr_4407_test.js diff --git a/jscomp/test/gpr_4407_test.res b/tests/tests/src/gpr_4407_test.res similarity index 100% rename from jscomp/test/gpr_4407_test.res rename to tests/tests/src/gpr_4407_test.res diff --git a/jscomp/test/gpr_441.js b/tests/tests/src/gpr_441.js similarity index 100% rename from jscomp/test/gpr_441.js rename to tests/tests/src/gpr_441.js diff --git a/jscomp/test/gpr_441.res b/tests/tests/src/gpr_441.res similarity index 100% rename from jscomp/test/gpr_441.res rename to tests/tests/src/gpr_441.res diff --git a/jscomp/test/gpr_4442_test.js b/tests/tests/src/gpr_4442_test.js similarity index 100% rename from jscomp/test/gpr_4442_test.js rename to tests/tests/src/gpr_4442_test.js diff --git a/jscomp/test/gpr_4442_test.res b/tests/tests/src/gpr_4442_test.res similarity index 100% rename from jscomp/test/gpr_4442_test.res rename to tests/tests/src/gpr_4442_test.res diff --git a/jscomp/test/gpr_4491_test.js b/tests/tests/src/gpr_4491_test.js similarity index 100% rename from jscomp/test/gpr_4491_test.js rename to tests/tests/src/gpr_4491_test.js diff --git a/jscomp/test/gpr_4491_test.res b/tests/tests/src/gpr_4491_test.res similarity index 100% rename from jscomp/test/gpr_4491_test.res rename to tests/tests/src/gpr_4491_test.res diff --git a/jscomp/test/gpr_4494_test.js b/tests/tests/src/gpr_4494_test.js similarity index 100% rename from jscomp/test/gpr_4494_test.js rename to tests/tests/src/gpr_4494_test.js diff --git a/jscomp/test/gpr_4494_test.res b/tests/tests/src/gpr_4494_test.res similarity index 100% rename from jscomp/test/gpr_4494_test.res rename to tests/tests/src/gpr_4494_test.res diff --git a/jscomp/test/gpr_4519_test.js b/tests/tests/src/gpr_4519_test.js similarity index 100% rename from jscomp/test/gpr_4519_test.js rename to tests/tests/src/gpr_4519_test.js diff --git a/jscomp/test/gpr_4519_test.res b/tests/tests/src/gpr_4519_test.res similarity index 100% rename from jscomp/test/gpr_4519_test.res rename to tests/tests/src/gpr_4519_test.res diff --git a/jscomp/test/gpr_459_test.js b/tests/tests/src/gpr_459_test.js similarity index 100% rename from jscomp/test/gpr_459_test.js rename to tests/tests/src/gpr_459_test.js diff --git a/jscomp/test/gpr_459_test.res b/tests/tests/src/gpr_459_test.res similarity index 100% rename from jscomp/test/gpr_459_test.res rename to tests/tests/src/gpr_459_test.res diff --git a/jscomp/test/gpr_4632.js b/tests/tests/src/gpr_4632.js similarity index 100% rename from jscomp/test/gpr_4632.js rename to tests/tests/src/gpr_4632.js diff --git a/jscomp/test/gpr_4632.res b/tests/tests/src/gpr_4632.res similarity index 100% rename from jscomp/test/gpr_4632.res rename to tests/tests/src/gpr_4632.res diff --git a/jscomp/test/gpr_4639_test.js b/tests/tests/src/gpr_4639_test.js similarity index 100% rename from jscomp/test/gpr_4639_test.js rename to tests/tests/src/gpr_4639_test.js diff --git a/jscomp/test/gpr_4639_test.res b/tests/tests/src/gpr_4639_test.res similarity index 100% rename from jscomp/test/gpr_4639_test.res rename to tests/tests/src/gpr_4639_test.res diff --git a/jscomp/test/gpr_4900_test.js b/tests/tests/src/gpr_4900_test.js similarity index 100% rename from jscomp/test/gpr_4900_test.js rename to tests/tests/src/gpr_4900_test.js diff --git a/jscomp/test/gpr_4900_test.res b/tests/tests/src/gpr_4900_test.res similarity index 100% rename from jscomp/test/gpr_4900_test.res rename to tests/tests/src/gpr_4900_test.res diff --git a/jscomp/test/gpr_4924_test.js b/tests/tests/src/gpr_4924_test.js similarity index 100% rename from jscomp/test/gpr_4924_test.js rename to tests/tests/src/gpr_4924_test.js diff --git a/jscomp/test/gpr_4924_test.res b/tests/tests/src/gpr_4924_test.res similarity index 100% rename from jscomp/test/gpr_4924_test.res rename to tests/tests/src/gpr_4924_test.res diff --git a/jscomp/test/gpr_4931.js b/tests/tests/src/gpr_4931.js similarity index 100% rename from jscomp/test/gpr_4931.js rename to tests/tests/src/gpr_4931.js diff --git a/jscomp/test/gpr_4931.res b/tests/tests/src/gpr_4931.res similarity index 100% rename from jscomp/test/gpr_4931.res rename to tests/tests/src/gpr_4931.res diff --git a/jscomp/test/gpr_5071_test.js b/tests/tests/src/gpr_5071_test.js similarity index 100% rename from jscomp/test/gpr_5071_test.js rename to tests/tests/src/gpr_5071_test.js diff --git a/jscomp/test/gpr_5071_test.res b/tests/tests/src/gpr_5071_test.res similarity index 100% rename from jscomp/test/gpr_5071_test.res rename to tests/tests/src/gpr_5071_test.res diff --git a/jscomp/test/gpr_5169_test.js b/tests/tests/src/gpr_5169_test.js similarity index 100% rename from jscomp/test/gpr_5169_test.js rename to tests/tests/src/gpr_5169_test.js diff --git a/jscomp/test/gpr_5169_test.res b/tests/tests/src/gpr_5169_test.res similarity index 100% rename from jscomp/test/gpr_5169_test.res rename to tests/tests/src/gpr_5169_test.res diff --git a/jscomp/test/gpr_5218_test.js b/tests/tests/src/gpr_5218_test.js similarity index 100% rename from jscomp/test/gpr_5218_test.js rename to tests/tests/src/gpr_5218_test.js diff --git a/jscomp/test/gpr_5218_test.res b/tests/tests/src/gpr_5218_test.res similarity index 100% rename from jscomp/test/gpr_5218_test.res rename to tests/tests/src/gpr_5218_test.res diff --git a/jscomp/test/gpr_5280_optimize_test.js b/tests/tests/src/gpr_5280_optimize_test.js similarity index 100% rename from jscomp/test/gpr_5280_optimize_test.js rename to tests/tests/src/gpr_5280_optimize_test.js diff --git a/jscomp/test/gpr_5280_optimize_test.res b/tests/tests/src/gpr_5280_optimize_test.res similarity index 100% rename from jscomp/test/gpr_5280_optimize_test.res rename to tests/tests/src/gpr_5280_optimize_test.res diff --git a/jscomp/test/gpr_5557.js b/tests/tests/src/gpr_5557.js similarity index 100% rename from jscomp/test/gpr_5557.js rename to tests/tests/src/gpr_5557.js diff --git a/jscomp/test/gpr_5557.res b/tests/tests/src/gpr_5557.res similarity index 100% rename from jscomp/test/gpr_5557.res rename to tests/tests/src/gpr_5557.res diff --git a/jscomp/test/gpr_5753.js b/tests/tests/src/gpr_5753.js similarity index 100% rename from jscomp/test/gpr_5753.js rename to tests/tests/src/gpr_5753.js diff --git a/jscomp/test/gpr_5753.res b/tests/tests/src/gpr_5753.res similarity index 100% rename from jscomp/test/gpr_5753.res rename to tests/tests/src/gpr_5753.res diff --git a/jscomp/test/gpr_658.js b/tests/tests/src/gpr_658.js similarity index 100% rename from jscomp/test/gpr_658.js rename to tests/tests/src/gpr_658.js diff --git a/jscomp/test/gpr_658.res b/tests/tests/src/gpr_658.res similarity index 100% rename from jscomp/test/gpr_658.res rename to tests/tests/src/gpr_658.res diff --git a/jscomp/test/gpr_7012_test.js b/tests/tests/src/gpr_7012_test.js similarity index 100% rename from jscomp/test/gpr_7012_test.js rename to tests/tests/src/gpr_7012_test.js diff --git a/jscomp/test/gpr_7012_test.res b/tests/tests/src/gpr_7012_test.res similarity index 100% rename from jscomp/test/gpr_7012_test.res rename to tests/tests/src/gpr_7012_test.res diff --git a/jscomp/test/gpr_858_test.js b/tests/tests/src/gpr_858_test.js similarity index 100% rename from jscomp/test/gpr_858_test.js rename to tests/tests/src/gpr_858_test.js diff --git a/jscomp/test/gpr_858_test.res b/tests/tests/src/gpr_858_test.res similarity index 100% rename from jscomp/test/gpr_858_test.res rename to tests/tests/src/gpr_858_test.res diff --git a/jscomp/test/gpr_858_unit2_test.js b/tests/tests/src/gpr_858_unit2_test.js similarity index 100% rename from jscomp/test/gpr_858_unit2_test.js rename to tests/tests/src/gpr_858_unit2_test.js diff --git a/jscomp/test/gpr_858_unit2_test.res b/tests/tests/src/gpr_858_unit2_test.res similarity index 100% rename from jscomp/test/gpr_858_unit2_test.res rename to tests/tests/src/gpr_858_unit2_test.res diff --git a/jscomp/test/gpr_904_test.js b/tests/tests/src/gpr_904_test.js similarity index 100% rename from jscomp/test/gpr_904_test.js rename to tests/tests/src/gpr_904_test.js diff --git a/jscomp/test/gpr_904_test.res b/tests/tests/src/gpr_904_test.res similarity index 100% rename from jscomp/test/gpr_904_test.res rename to tests/tests/src/gpr_904_test.res diff --git a/jscomp/test/gpr_974_test.js b/tests/tests/src/gpr_974_test.js similarity index 83% rename from jscomp/test/gpr_974_test.js rename to tests/tests/src/gpr_974_test.js index c3f79db781..cd10fcb09e 100644 --- a/jscomp/test/gpr_974_test.js +++ b/tests/tests/src/gpr_974_test.js @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Primitive_object = require("../../lib/js/primitive_object.js"); -let Primitive_option = require("../../lib/js/primitive_option.js"); +let Primitive_object = require("rescript/lib/js/primitive_object.js"); +let Primitive_option = require("rescript/lib/js/primitive_option.js"); if (!Primitive_object.equal(Primitive_option.fromNullable(""), "")) { throw { diff --git a/jscomp/test/gpr_974_test.res b/tests/tests/src/gpr_974_test.res similarity index 100% rename from jscomp/test/gpr_974_test.res rename to tests/tests/src/gpr_974_test.res diff --git a/jscomp/test/gpr_977_test.js b/tests/tests/src/gpr_977_test.js similarity index 100% rename from jscomp/test/gpr_977_test.js rename to tests/tests/src/gpr_977_test.js diff --git a/jscomp/test/gpr_977_test.res b/tests/tests/src/gpr_977_test.res similarity index 100% rename from jscomp/test/gpr_977_test.res rename to tests/tests/src/gpr_977_test.res diff --git a/jscomp/test/gpr_return_type_unused_attribute.js b/tests/tests/src/gpr_return_type_unused_attribute.js similarity index 100% rename from jscomp/test/gpr_return_type_unused_attribute.js rename to tests/tests/src/gpr_return_type_unused_attribute.js diff --git a/jscomp/test/gpr_return_type_unused_attribute.res b/tests/tests/src/gpr_return_type_unused_attribute.res similarity index 100% rename from jscomp/test/gpr_return_type_unused_attribute.res rename to tests/tests/src/gpr_return_type_unused_attribute.res diff --git a/jscomp/test/gray_code_test.js b/tests/tests/src/gray_code_test.js similarity index 100% rename from jscomp/test/gray_code_test.js rename to tests/tests/src/gray_code_test.js diff --git a/jscomp/test/gray_code_test.res b/tests/tests/src/gray_code_test.res similarity index 100% rename from jscomp/test/gray_code_test.res rename to tests/tests/src/gray_code_test.res diff --git a/jscomp/test/guide_for_ext.js b/tests/tests/src/guide_for_ext.js similarity index 100% rename from jscomp/test/guide_for_ext.js rename to tests/tests/src/guide_for_ext.js diff --git a/jscomp/test/guide_for_ext.res b/tests/tests/src/guide_for_ext.res similarity index 100% rename from jscomp/test/guide_for_ext.res rename to tests/tests/src/guide_for_ext.res diff --git a/jscomp/test/hash_collision_test.js b/tests/tests/src/hash_collision_test.js similarity index 100% rename from jscomp/test/hash_collision_test.js rename to tests/tests/src/hash_collision_test.js diff --git a/jscomp/test/hash_collision_test.res b/tests/tests/src/hash_collision_test.res similarity index 100% rename from jscomp/test/hash_collision_test.res rename to tests/tests/src/hash_collision_test.res diff --git a/jscomp/test/hash_sugar_desugar.js b/tests/tests/src/hash_sugar_desugar.js similarity index 100% rename from jscomp/test/hash_sugar_desugar.js rename to tests/tests/src/hash_sugar_desugar.js diff --git a/jscomp/test/hash_sugar_desugar.res b/tests/tests/src/hash_sugar_desugar.res similarity index 100% rename from jscomp/test/hash_sugar_desugar.res rename to tests/tests/src/hash_sugar_desugar.res diff --git a/jscomp/test/hash_sugar_desugar.resi b/tests/tests/src/hash_sugar_desugar.resi similarity index 100% rename from jscomp/test/hash_sugar_desugar.resi rename to tests/tests/src/hash_sugar_desugar.resi diff --git a/jscomp/test/hash_test.js b/tests/tests/src/hash_test.js similarity index 93% rename from jscomp/test/hash_test.js rename to tests/tests/src/hash_test.js index e5aab10f8b..3bafea60d1 100644 --- a/jscomp/test/hash_test.js +++ b/tests/tests/src/hash_test.js @@ -2,9 +2,9 @@ 'use strict'; let Mt = require("./mt.js"); -let Hashtbl = require("../../lib/js/hashtbl.js"); +let Hashtbl = require("rescript/lib/js/hashtbl.js"); let Mt_global = require("./mt_global.js"); -let Belt_Array = require("../../lib/js/belt_Array.js"); +let Belt_Array = require("rescript/lib/js/belt_Array.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/hash_test.res b/tests/tests/src/hash_test.res similarity index 100% rename from jscomp/test/hash_test.res rename to tests/tests/src/hash_test.res diff --git a/jscomp/test/hello.foo.js b/tests/tests/src/hello.foo.js similarity index 100% rename from jscomp/test/hello.foo.js rename to tests/tests/src/hello.foo.js diff --git a/jscomp/test/hello.foo.res b/tests/tests/src/hello.foo.res similarity index 100% rename from jscomp/test/hello.foo.res rename to tests/tests/src/hello.foo.res diff --git a/jscomp/test/hello_res.js b/tests/tests/src/hello_res.js similarity index 89% rename from jscomp/test/hello_res.js rename to tests/tests/src/hello_res.js index 1f2f16ad5a..34fadda626 100644 --- a/jscomp/test/hello_res.js +++ b/tests/tests/src/hello_res.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_List = require("../../lib/js/belt_List.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); let b = Belt_List.length({ hd: 1, diff --git a/jscomp/test/hello_res.res b/tests/tests/src/hello_res.res similarity index 100% rename from jscomp/test/hello_res.res rename to tests/tests/src/hello_res.res diff --git a/jscomp/test/hello_res.resi b/tests/tests/src/hello_res.resi similarity index 100% rename from jscomp/test/hello_res.resi rename to tests/tests/src/hello_res.resi diff --git a/jscomp/test/ignore_test.js b/tests/tests/src/ignore_test.js similarity index 100% rename from jscomp/test/ignore_test.js rename to tests/tests/src/ignore_test.js diff --git a/jscomp/test/ignore_test.res b/tests/tests/src/ignore_test.res similarity index 100% rename from jscomp/test/ignore_test.res rename to tests/tests/src/ignore_test.res diff --git a/jscomp/test/ignore_uncurry_attribute.js b/tests/tests/src/ignore_uncurry_attribute.js similarity index 100% rename from jscomp/test/ignore_uncurry_attribute.js rename to tests/tests/src/ignore_uncurry_attribute.js diff --git a/jscomp/test/ignore_uncurry_attribute.res b/tests/tests/src/ignore_uncurry_attribute.res similarity index 100% rename from jscomp/test/ignore_uncurry_attribute.res rename to tests/tests/src/ignore_uncurry_attribute.res diff --git a/jscomp/test/import2.js b/tests/tests/src/import2.js similarity index 100% rename from jscomp/test/import2.js rename to tests/tests/src/import2.js diff --git a/jscomp/test/import2.res b/tests/tests/src/import2.res similarity index 100% rename from jscomp/test/import2.res rename to tests/tests/src/import2.res diff --git a/jscomp/test/import_external.js b/tests/tests/src/import_external.js similarity index 100% rename from jscomp/test/import_external.js rename to tests/tests/src/import_external.js diff --git a/jscomp/test/import_external.res b/tests/tests/src/import_external.res similarity index 100% rename from jscomp/test/import_external.res rename to tests/tests/src/import_external.res diff --git a/jscomp/test/import_side_effect.js b/tests/tests/src/import_side_effect.js similarity index 100% rename from jscomp/test/import_side_effect.js rename to tests/tests/src/import_side_effect.js diff --git a/jscomp/test/import_side_effect.res b/tests/tests/src/import_side_effect.res similarity index 100% rename from jscomp/test/import_side_effect.res rename to tests/tests/src/import_side_effect.res diff --git a/jscomp/test/import_side_effect_free.js b/tests/tests/src/import_side_effect_free.js similarity index 100% rename from jscomp/test/import_side_effect_free.js rename to tests/tests/src/import_side_effect_free.js diff --git a/jscomp/test/import_side_effect_free.res b/tests/tests/src/import_side_effect_free.res similarity index 100% rename from jscomp/test/import_side_effect_free.res rename to tests/tests/src/import_side_effect_free.res diff --git a/jscomp/test/include_side_effect.js b/tests/tests/src/include_side_effect.js similarity index 100% rename from jscomp/test/include_side_effect.js rename to tests/tests/src/include_side_effect.js diff --git a/jscomp/test/include_side_effect.res b/tests/tests/src/include_side_effect.res similarity index 100% rename from jscomp/test/include_side_effect.res rename to tests/tests/src/include_side_effect.res diff --git a/jscomp/test/include_side_effect_free.js b/tests/tests/src/include_side_effect_free.js similarity index 100% rename from jscomp/test/include_side_effect_free.js rename to tests/tests/src/include_side_effect_free.js diff --git a/jscomp/test/include_side_effect_free.res b/tests/tests/src/include_side_effect_free.res similarity index 100% rename from jscomp/test/include_side_effect_free.res rename to tests/tests/src/include_side_effect_free.res diff --git a/jscomp/test/incomplete_toplevel_test.js b/tests/tests/src/incomplete_toplevel_test.js similarity index 100% rename from jscomp/test/incomplete_toplevel_test.js rename to tests/tests/src/incomplete_toplevel_test.js diff --git a/jscomp/test/incomplete_toplevel_test.res b/tests/tests/src/incomplete_toplevel_test.res similarity index 100% rename from jscomp/test/incomplete_toplevel_test.res rename to tests/tests/src/incomplete_toplevel_test.res diff --git a/jscomp/test/infer_type_test.js b/tests/tests/src/infer_type_test.js similarity index 100% rename from jscomp/test/infer_type_test.js rename to tests/tests/src/infer_type_test.js diff --git a/jscomp/test/infer_type_test.res b/tests/tests/src/infer_type_test.res similarity index 100% rename from jscomp/test/infer_type_test.res rename to tests/tests/src/infer_type_test.res diff --git a/jscomp/test/infer_type_test.resi b/tests/tests/src/infer_type_test.resi similarity index 100% rename from jscomp/test/infer_type_test.resi rename to tests/tests/src/infer_type_test.resi diff --git a/jscomp/test/inline_condition_with_pattern_matching.js b/tests/tests/src/inline_condition_with_pattern_matching.js similarity index 100% rename from jscomp/test/inline_condition_with_pattern_matching.js rename to tests/tests/src/inline_condition_with_pattern_matching.js diff --git a/jscomp/test/inline_condition_with_pattern_matching.res b/tests/tests/src/inline_condition_with_pattern_matching.res similarity index 100% rename from jscomp/test/inline_condition_with_pattern_matching.res rename to tests/tests/src/inline_condition_with_pattern_matching.res diff --git a/jscomp/test/inline_const.js b/tests/tests/src/inline_const.js similarity index 100% rename from jscomp/test/inline_const.js rename to tests/tests/src/inline_const.js diff --git a/jscomp/test/inline_const.res b/tests/tests/src/inline_const.res similarity index 100% rename from jscomp/test/inline_const.res rename to tests/tests/src/inline_const.res diff --git a/jscomp/test/inline_const.resi b/tests/tests/src/inline_const.resi similarity index 100% rename from jscomp/test/inline_const.resi rename to tests/tests/src/inline_const.resi diff --git a/jscomp/test/inline_const_test.js b/tests/tests/src/inline_const_test.js similarity index 100% rename from jscomp/test/inline_const_test.js rename to tests/tests/src/inline_const_test.js diff --git a/jscomp/test/inline_const_test.res b/tests/tests/src/inline_const_test.res similarity index 100% rename from jscomp/test/inline_const_test.res rename to tests/tests/src/inline_const_test.res diff --git a/jscomp/test/inline_edge_cases.js b/tests/tests/src/inline_edge_cases.js similarity index 100% rename from jscomp/test/inline_edge_cases.js rename to tests/tests/src/inline_edge_cases.js diff --git a/jscomp/test/inline_edge_cases.res b/tests/tests/src/inline_edge_cases.res similarity index 100% rename from jscomp/test/inline_edge_cases.res rename to tests/tests/src/inline_edge_cases.res diff --git a/jscomp/test/inline_edge_cases.resi b/tests/tests/src/inline_edge_cases.resi similarity index 100% rename from jscomp/test/inline_edge_cases.resi rename to tests/tests/src/inline_edge_cases.resi diff --git a/jscomp/test/inline_map2_test.js b/tests/tests/src/inline_map2_test.js similarity index 99% rename from jscomp/test/inline_map2_test.js rename to tests/tests/src/inline_map2_test.js index f144e15067..207455b1c8 100644 --- a/jscomp/test/inline_map2_test.js +++ b/tests/tests/src/inline_map2_test.js @@ -2,10 +2,10 @@ 'use strict'; let Mt = require("./mt.js"); -let Belt_List = require("../../lib/js/belt_List.js"); -let Primitive_int = require("../../lib/js/primitive_int.js"); -let Primitive_option = require("../../lib/js/primitive_option.js"); -let Primitive_string = require("../../lib/js/primitive_string.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); +let Primitive_int = require("rescript/lib/js/primitive_int.js"); +let Primitive_option = require("rescript/lib/js/primitive_option.js"); +let Primitive_string = require("rescript/lib/js/primitive_string.js"); function Make(Ord) { let height = x => { diff --git a/jscomp/test/inline_map2_test.res b/tests/tests/src/inline_map2_test.res similarity index 100% rename from jscomp/test/inline_map2_test.res rename to tests/tests/src/inline_map2_test.res diff --git a/jscomp/test/inline_map_demo.js b/tests/tests/src/inline_map_demo.js similarity index 96% rename from jscomp/test/inline_map_demo.js rename to tests/tests/src/inline_map_demo.js index c966423eb6..c97d49afd5 100644 --- a/jscomp/test/inline_map_demo.js +++ b/tests/tests/src/inline_map_demo.js @@ -2,8 +2,8 @@ 'use strict'; let Mt = require("./mt.js"); -let Belt_List = require("../../lib/js/belt_List.js"); -let Primitive_int = require("../../lib/js/primitive_int.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); +let Primitive_int = require("rescript/lib/js/primitive_int.js"); function height(x) { if (typeof x !== "object") { diff --git a/jscomp/test/inline_map_demo.res b/tests/tests/src/inline_map_demo.res similarity index 100% rename from jscomp/test/inline_map_demo.res rename to tests/tests/src/inline_map_demo.res diff --git a/jscomp/test/inline_map_test.js b/tests/tests/src/inline_map_test.js similarity index 96% rename from jscomp/test/inline_map_test.js rename to tests/tests/src/inline_map_test.js index 3dfa9a390e..6da2b307a3 100644 --- a/jscomp/test/inline_map_test.js +++ b/tests/tests/src/inline_map_test.js @@ -2,8 +2,8 @@ 'use strict'; let Mt = require("./mt.js"); -let Belt_List = require("../../lib/js/belt_List.js"); -let Primitive_int = require("../../lib/js/primitive_int.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); +let Primitive_int = require("rescript/lib/js/primitive_int.js"); function height(x) { if (typeof x !== "object") { diff --git a/jscomp/test/inline_map_test.res b/tests/tests/src/inline_map_test.res similarity index 100% rename from jscomp/test/inline_map_test.res rename to tests/tests/src/inline_map_test.res diff --git a/jscomp/test/inline_map_test.resi b/tests/tests/src/inline_map_test.resi similarity index 100% rename from jscomp/test/inline_map_test.resi rename to tests/tests/src/inline_map_test.resi diff --git a/jscomp/test/inline_record_test.js b/tests/tests/src/inline_record_test.js similarity index 96% rename from jscomp/test/inline_record_test.js rename to tests/tests/src/inline_record_test.js index 09e84b8a80..4d4f5b5232 100644 --- a/jscomp/test/inline_record_test.js +++ b/tests/tests/src/inline_record_test.js @@ -2,8 +2,8 @@ 'use strict'; let Mt = require("./mt.js"); -let Belt_List = require("../../lib/js/belt_List.js"); -let Primitive_exceptions = require("../../lib/js/primitive_exceptions.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); +let Primitive_exceptions = require("rescript/lib/js/primitive_exceptions.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/inline_record_test.res b/tests/tests/src/inline_record_test.res similarity index 100% rename from jscomp/test/inline_record_test.res rename to tests/tests/src/inline_record_test.res diff --git a/jscomp/test/inline_regression_test.js b/tests/tests/src/inline_regression_test.js similarity index 100% rename from jscomp/test/inline_regression_test.js rename to tests/tests/src/inline_regression_test.js diff --git a/jscomp/test/inline_regression_test.res b/tests/tests/src/inline_regression_test.res similarity index 100% rename from jscomp/test/inline_regression_test.res rename to tests/tests/src/inline_regression_test.res diff --git a/jscomp/test/inline_string_test.js b/tests/tests/src/inline_string_test.js similarity index 100% rename from jscomp/test/inline_string_test.js rename to tests/tests/src/inline_string_test.js diff --git a/jscomp/test/inline_string_test.res b/tests/tests/src/inline_string_test.res similarity index 100% rename from jscomp/test/inline_string_test.res rename to tests/tests/src/inline_string_test.res diff --git a/jscomp/test/inner_call.js b/tests/tests/src/inner_call.js similarity index 100% rename from jscomp/test/inner_call.js rename to tests/tests/src/inner_call.js diff --git a/jscomp/test/inner_call.res b/tests/tests/src/inner_call.res similarity index 100% rename from jscomp/test/inner_call.res rename to tests/tests/src/inner_call.res diff --git a/jscomp/test/inner_define.js b/tests/tests/src/inner_define.js similarity index 100% rename from jscomp/test/inner_define.js rename to tests/tests/src/inner_define.js diff --git a/jscomp/test/inner_define.res b/tests/tests/src/inner_define.res similarity index 100% rename from jscomp/test/inner_define.res rename to tests/tests/src/inner_define.res diff --git a/jscomp/test/inner_define.resi b/tests/tests/src/inner_define.resi similarity index 100% rename from jscomp/test/inner_define.resi rename to tests/tests/src/inner_define.resi diff --git a/jscomp/test/inner_unused.js b/tests/tests/src/inner_unused.js similarity index 100% rename from jscomp/test/inner_unused.js rename to tests/tests/src/inner_unused.js diff --git a/jscomp/test/inner_unused.res b/tests/tests/src/inner_unused.res similarity index 100% rename from jscomp/test/inner_unused.res rename to tests/tests/src/inner_unused.res diff --git a/jscomp/test/installation_test.js b/tests/tests/src/installation_test.js similarity index 100% rename from jscomp/test/installation_test.js rename to tests/tests/src/installation_test.js diff --git a/jscomp/test/installation_test.res b/tests/tests/src/installation_test.res similarity index 100% rename from jscomp/test/installation_test.res rename to tests/tests/src/installation_test.res diff --git a/jscomp/test/int_map.js b/tests/tests/src/int_map.js similarity index 71% rename from jscomp/test/int_map.js rename to tests/tests/src/int_map.js index a7d43f7c06..c3a14ba60c 100644 --- a/jscomp/test/int_map.js +++ b/tests/tests/src/int_map.js @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_Map = require("../../lib/js/belt_Map.js"); -let Primitive_object = require("../../lib/js/primitive_object.js"); +let Belt_Map = require("rescript/lib/js/belt_Map.js"); +let Primitive_object = require("rescript/lib/js/primitive_object.js"); let cmp = Primitive_object.compare; diff --git a/jscomp/test/int_map.res b/tests/tests/src/int_map.res similarity index 100% rename from jscomp/test/int_map.res rename to tests/tests/src/int_map.res diff --git a/jscomp/test/int_overflow_test.js b/tests/tests/src/int_overflow_test.js similarity index 100% rename from jscomp/test/int_overflow_test.js rename to tests/tests/src/int_overflow_test.js diff --git a/jscomp/test/int_overflow_test.res b/tests/tests/src/int_overflow_test.res similarity index 100% rename from jscomp/test/int_overflow_test.res rename to tests/tests/src/int_overflow_test.res diff --git a/jscomp/test/int_poly_var.js b/tests/tests/src/int_poly_var.js similarity index 100% rename from jscomp/test/int_poly_var.js rename to tests/tests/src/int_poly_var.js diff --git a/jscomp/test/int_poly_var.res b/tests/tests/src/int_poly_var.res similarity index 100% rename from jscomp/test/int_poly_var.res rename to tests/tests/src/int_poly_var.res diff --git a/jscomp/test/int_switch_test.js b/tests/tests/src/int_switch_test.js similarity index 100% rename from jscomp/test/int_switch_test.js rename to tests/tests/src/int_switch_test.js diff --git a/jscomp/test/int_switch_test.res b/tests/tests/src/int_switch_test.res similarity index 100% rename from jscomp/test/int_switch_test.res rename to tests/tests/src/int_switch_test.res diff --git a/jscomp/test/internal_unused_test.js b/tests/tests/src/internal_unused_test.js similarity index 86% rename from jscomp/test/internal_unused_test.js rename to tests/tests/src/internal_unused_test.js index 8a3d3d5a46..5a852a9ba4 100644 --- a/jscomp/test/internal_unused_test.js +++ b/tests/tests/src/internal_unused_test.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Primitive_exceptions = require("../../lib/js/primitive_exceptions.js"); +let Primitive_exceptions = require("rescript/lib/js/primitive_exceptions.js"); console.log(3); diff --git a/jscomp/test/internal_unused_test.res b/tests/tests/src/internal_unused_test.res similarity index 100% rename from jscomp/test/internal_unused_test.res rename to tests/tests/src/internal_unused_test.res diff --git a/jscomp/test/joinClasses.js b/tests/tests/src/joinClasses.js similarity index 100% rename from jscomp/test/joinClasses.js rename to tests/tests/src/joinClasses.js diff --git a/jscomp/test/js_array_test.js b/tests/tests/src/js_array_test.js similarity index 99% rename from jscomp/test/js_array_test.js rename to tests/tests/src/js_array_test.js index a4b2cad155..7b01b833fd 100644 --- a/jscomp/test/js_array_test.js +++ b/tests/tests/src/js_array_test.js @@ -2,7 +2,7 @@ 'use strict'; let Mt = require("./mt.js"); -let Primitive_option = require("../../lib/js/primitive_option.js"); +let Primitive_option = require("rescript/lib/js/primitive_option.js"); let suites_0 = [ "isArray_array", diff --git a/jscomp/test/js_array_test.res b/tests/tests/src/js_array_test.res similarity index 100% rename from jscomp/test/js_array_test.res rename to tests/tests/src/js_array_test.res diff --git a/jscomp/test/js_bool_test.js b/tests/tests/src/js_bool_test.js similarity index 100% rename from jscomp/test/js_bool_test.js rename to tests/tests/src/js_bool_test.js diff --git a/jscomp/test/js_bool_test.res b/tests/tests/src/js_bool_test.res similarity index 100% rename from jscomp/test/js_bool_test.res rename to tests/tests/src/js_bool_test.res diff --git a/jscomp/test/js_cast_test.js b/tests/tests/src/js_cast_test.js similarity index 100% rename from jscomp/test/js_cast_test.js rename to tests/tests/src/js_cast_test.js diff --git a/jscomp/test/js_cast_test.res b/tests/tests/src/js_cast_test.res similarity index 100% rename from jscomp/test/js_cast_test.res rename to tests/tests/src/js_cast_test.res diff --git a/jscomp/test/js_date_test.js b/tests/tests/src/js_date_test.js similarity index 99% rename from jscomp/test/js_date_test.js rename to tests/tests/src/js_date_test.js index 486b0065df..d8342395af 100644 --- a/jscomp/test/js_date_test.js +++ b/tests/tests/src/js_date_test.js @@ -2,7 +2,7 @@ 'use strict'; let Mt = require("./mt.js"); -let Primitive_object = require("../../lib/js/primitive_object.js"); +let Primitive_object = require("rescript/lib/js/primitive_object.js"); function date() { return new Date("1976-03-08T12:34:56.789+01:23"); diff --git a/jscomp/test/js_date_test.res b/tests/tests/src/js_date_test.res similarity index 100% rename from jscomp/test/js_date_test.res rename to tests/tests/src/js_date_test.res diff --git a/jscomp/test/js_dict_test.js b/tests/tests/src/js_dict_test.js similarity index 99% rename from jscomp/test/js_dict_test.js rename to tests/tests/src/js_dict_test.js index 0e1500c1d8..88517c46bb 100644 --- a/jscomp/test/js_dict_test.js +++ b/tests/tests/src/js_dict_test.js @@ -2,7 +2,7 @@ 'use strict'; let Mt = require("./mt.js"); -let Js_dict = require("../../lib/js/js_dict.js"); +let Js_dict = require("rescript/lib/js/js_dict.js"); function obj() { return { diff --git a/jscomp/test/js_dict_test.res b/tests/tests/src/js_dict_test.res similarity index 100% rename from jscomp/test/js_dict_test.res rename to tests/tests/src/js_dict_test.res diff --git a/jscomp/test/js_exception_catch_test.js b/tests/tests/src/js_exception_catch_test.js similarity index 97% rename from jscomp/test/js_exception_catch_test.js rename to tests/tests/src/js_exception_catch_test.js index 93adab1fc8..9d89afdca8 100644 --- a/jscomp/test/js_exception_catch_test.js +++ b/tests/tests/src/js_exception_catch_test.js @@ -2,8 +2,8 @@ 'use strict'; let Mt = require("./mt.js"); -let Js_exn = require("../../lib/js/js_exn.js"); -let Primitive_exceptions = require("../../lib/js/primitive_exceptions.js"); +let Js_exn = require("rescript/lib/js/js_exn.js"); +let Primitive_exceptions = require("rescript/lib/js/primitive_exceptions.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/js_exception_catch_test.res b/tests/tests/src/js_exception_catch_test.res similarity index 100% rename from jscomp/test/js_exception_catch_test.res rename to tests/tests/src/js_exception_catch_test.res diff --git a/jscomp/test/js_float_test.js b/tests/tests/src/js_float_test.js similarity index 99% rename from jscomp/test/js_float_test.js rename to tests/tests/src/js_float_test.js index 9c7bd025d5..1053343409 100644 --- a/jscomp/test/js_float_test.js +++ b/tests/tests/src/js_float_test.js @@ -2,7 +2,7 @@ 'use strict'; let Mt = require("./mt.js"); -let Pervasives = require("../../lib/js/pervasives.js"); +let Pervasives = require("rescript/lib/js/pervasives.js"); let suites_0 = [ "_NaN <> _NaN", diff --git a/jscomp/test/js_float_test.res b/tests/tests/src/js_float_test.res similarity index 100% rename from jscomp/test/js_float_test.res rename to tests/tests/src/js_float_test.res diff --git a/jscomp/test/js_global_test.js b/tests/tests/src/js_global_test.js similarity index 100% rename from jscomp/test/js_global_test.js rename to tests/tests/src/js_global_test.js diff --git a/jscomp/test/js_global_test.res b/tests/tests/src/js_global_test.res similarity index 100% rename from jscomp/test/js_global_test.res rename to tests/tests/src/js_global_test.res diff --git a/jscomp/test/js_int_test.js b/tests/tests/src/js_int_test.js similarity index 100% rename from jscomp/test/js_int_test.js rename to tests/tests/src/js_int_test.js diff --git a/jscomp/test/js_int_test.res b/tests/tests/src/js_int_test.res similarity index 100% rename from jscomp/test/js_int_test.res rename to tests/tests/src/js_int_test.res diff --git a/jscomp/test/js_json_test.js b/tests/tests/src/js_json_test.js similarity index 98% rename from jscomp/test/js_json_test.js rename to tests/tests/src/js_json_test.js index 08721785fa..7defbe30cc 100644 --- a/jscomp/test/js_json_test.js +++ b/tests/tests/src/js_json_test.js @@ -2,12 +2,12 @@ 'use strict'; let Mt = require("./mt.js"); -let Js_dict = require("../../lib/js/js_dict.js"); -let Js_json = require("../../lib/js/js_json.js"); -let Belt_List = require("../../lib/js/belt_List.js"); -let Belt_Array = require("../../lib/js/belt_Array.js"); -let Primitive_array = require("../../lib/js/primitive_array.js"); -let Primitive_option = require("../../lib/js/primitive_option.js"); +let Js_dict = require("rescript/lib/js/js_dict.js"); +let Js_json = require("rescript/lib/js/js_json.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); +let Belt_Array = require("rescript/lib/js/belt_Array.js"); +let Primitive_array = require("rescript/lib/js/primitive_array.js"); +let Primitive_option = require("rescript/lib/js/primitive_option.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/js_json_test.res b/tests/tests/src/js_json_test.res similarity index 100% rename from jscomp/test/js_json_test.res rename to tests/tests/src/js_json_test.res diff --git a/jscomp/test/js_math_test.js b/tests/tests/src/js_math_test.js similarity index 99% rename from jscomp/test/js_math_test.js rename to tests/tests/src/js_math_test.js index fc2059ea26..f9e330f432 100644 --- a/jscomp/test/js_math_test.js +++ b/tests/tests/src/js_math_test.js @@ -2,7 +2,7 @@ 'use strict'; let Mt = require("./mt.js"); -let Js_math = require("../../lib/js/js_math.js"); +let Js_math = require("rescript/lib/js/js_math.js"); let suites_0 = [ "_E", diff --git a/jscomp/test/js_math_test.res b/tests/tests/src/js_math_test.res similarity index 100% rename from jscomp/test/js_math_test.res rename to tests/tests/src/js_math_test.res diff --git a/jscomp/test/js_null_test.js b/tests/tests/src/js_null_test.js similarity index 96% rename from jscomp/test/js_null_test.js rename to tests/tests/src/js_null_test.js index 9d6c11bc03..c81edeed64 100644 --- a/jscomp/test/js_null_test.js +++ b/tests/tests/src/js_null_test.js @@ -2,8 +2,8 @@ 'use strict'; let Mt = require("./mt.js"); -let Js_null = require("../../lib/js/js_null.js"); -let Primitive_option = require("../../lib/js/primitive_option.js"); +let Js_null = require("rescript/lib/js/js_null.js"); +let Primitive_option = require("rescript/lib/js/primitive_option.js"); let suites_0 = [ "toOption - empty", diff --git a/jscomp/test/js_null_test.res b/tests/tests/src/js_null_test.res similarity index 100% rename from jscomp/test/js_null_test.res rename to tests/tests/src/js_null_test.res diff --git a/jscomp/test/js_null_undefined_test.js b/tests/tests/src/js_null_undefined_test.js similarity index 98% rename from jscomp/test/js_null_undefined_test.js rename to tests/tests/src/js_null_undefined_test.js index bfbb6e7223..80fcae922c 100644 --- a/jscomp/test/js_null_undefined_test.js +++ b/tests/tests/src/js_null_undefined_test.js @@ -2,8 +2,8 @@ 'use strict'; let Mt = require("./mt.js"); -let Primitive_option = require("../../lib/js/primitive_option.js"); -let Js_null_undefined = require("../../lib/js/js_null_undefined.js"); +let Primitive_option = require("rescript/lib/js/primitive_option.js"); +let Js_null_undefined = require("rescript/lib/js/js_null_undefined.js"); let suites_0 = [ "toOption - null", diff --git a/jscomp/test/js_null_undefined_test.res b/tests/tests/src/js_null_undefined_test.res similarity index 100% rename from jscomp/test/js_null_undefined_test.res rename to tests/tests/src/js_null_undefined_test.res diff --git a/jscomp/test/js_nullable_test.js b/tests/tests/src/js_nullable_test.js similarity index 100% rename from jscomp/test/js_nullable_test.js rename to tests/tests/src/js_nullable_test.js diff --git a/jscomp/test/js_nullable_test.res b/tests/tests/src/js_nullable_test.res similarity index 100% rename from jscomp/test/js_nullable_test.res rename to tests/tests/src/js_nullable_test.res diff --git a/jscomp/test/js_obj_test.js b/tests/tests/src/js_obj_test.js similarity index 100% rename from jscomp/test/js_obj_test.js rename to tests/tests/src/js_obj_test.js diff --git a/jscomp/test/js_obj_test.res b/tests/tests/src/js_obj_test.res similarity index 100% rename from jscomp/test/js_obj_test.res rename to tests/tests/src/js_obj_test.res diff --git a/jscomp/test/js_option_test.js b/tests/tests/src/js_option_test.js similarity index 99% rename from jscomp/test/js_option_test.js rename to tests/tests/src/js_option_test.js index c1052a0514..af3d8a471a 100644 --- a/jscomp/test/js_option_test.js +++ b/tests/tests/src/js_option_test.js @@ -2,7 +2,7 @@ 'use strict'; let Mt = require("./mt.js"); -let Js_option = require("../../lib/js/js_option.js"); +let Js_option = require("rescript/lib/js/js_option.js"); function simpleEq(a, b) { return a === b; diff --git a/jscomp/test/js_option_test.res b/tests/tests/src/js_option_test.res similarity index 100% rename from jscomp/test/js_option_test.res rename to tests/tests/src/js_option_test.res diff --git a/jscomp/test/js_re_test.js b/tests/tests/src/js_re_test.js similarity index 98% rename from jscomp/test/js_re_test.js rename to tests/tests/src/js_re_test.js index f5c422c961..9dcf6883fa 100644 --- a/jscomp/test/js_re_test.js +++ b/tests/tests/src/js_re_test.js @@ -2,8 +2,8 @@ 'use strict'; let Mt = require("./mt.js"); -let Primitive_array = require("../../lib/js/primitive_array.js"); -let Primitive_option = require("../../lib/js/primitive_option.js"); +let Primitive_array = require("rescript/lib/js/primitive_array.js"); +let Primitive_option = require("rescript/lib/js/primitive_option.js"); let suites_0 = [ "captures", diff --git a/jscomp/test/js_re_test.res b/tests/tests/src/js_re_test.res similarity index 100% rename from jscomp/test/js_re_test.res rename to tests/tests/src/js_re_test.res diff --git a/jscomp/test/js_string_test.js b/tests/tests/src/js_string_test.js similarity index 99% rename from jscomp/test/js_string_test.js rename to tests/tests/src/js_string_test.js index 071c564cd2..f04e75c9c0 100644 --- a/jscomp/test/js_string_test.js +++ b/tests/tests/src/js_string_test.js @@ -2,8 +2,8 @@ 'use strict'; let Mt = require("./mt.js"); -let Belt_Option = require("../../lib/js/belt_Option.js"); -let Primitive_option = require("../../lib/js/primitive_option.js"); +let Belt_Option = require("rescript/lib/js/belt_Option.js"); +let Primitive_option = require("rescript/lib/js/primitive_option.js"); let suites_0 = [ "make", diff --git a/jscomp/test/js_string_test.res b/tests/tests/src/js_string_test.res similarity index 100% rename from jscomp/test/js_string_test.res rename to tests/tests/src/js_string_test.res diff --git a/jscomp/test/js_undefined_test.js b/tests/tests/src/js_undefined_test.js similarity index 96% rename from jscomp/test/js_undefined_test.js rename to tests/tests/src/js_undefined_test.js index 7b239df178..cd08fa1dec 100644 --- a/jscomp/test/js_undefined_test.js +++ b/tests/tests/src/js_undefined_test.js @@ -2,8 +2,8 @@ 'use strict'; let Mt = require("./mt.js"); -let Js_undefined = require("../../lib/js/js_undefined.js"); -let Primitive_option = require("../../lib/js/primitive_option.js"); +let Js_undefined = require("rescript/lib/js/js_undefined.js"); +let Primitive_option = require("rescript/lib/js/primitive_option.js"); let suites_0 = [ "toOption - empty", diff --git a/jscomp/test/js_undefined_test.res b/tests/tests/src/js_undefined_test.res similarity index 100% rename from jscomp/test/js_undefined_test.res rename to tests/tests/src/js_undefined_test.res diff --git a/jscomp/test/js_val.js b/tests/tests/src/js_val.js similarity index 100% rename from jscomp/test/js_val.js rename to tests/tests/src/js_val.js diff --git a/jscomp/test/js_val.res b/tests/tests/src/js_val.res similarity index 100% rename from jscomp/test/js_val.res rename to tests/tests/src/js_val.res diff --git a/jscomp/test/jsoo_400_test.js b/tests/tests/src/jsoo_400_test.js similarity index 87% rename from jscomp/test/jsoo_400_test.js rename to tests/tests/src/jsoo_400_test.js index 79823bda7d..5430c1d291 100644 --- a/jscomp/test/jsoo_400_test.js +++ b/tests/tests/src/jsoo_400_test.js @@ -2,7 +2,7 @@ 'use strict'; let Mt = require("./mt.js"); -let Primitive_int = require("../../lib/js/primitive_int.js"); +let Primitive_int = require("rescript/lib/js/primitive_int.js"); function u() { let n; diff --git a/jscomp/test/jsoo_400_test.res b/tests/tests/src/jsoo_400_test.res similarity index 100% rename from jscomp/test/jsoo_400_test.res rename to tests/tests/src/jsoo_400_test.res diff --git a/jscomp/test/jsoo_485_test.js b/tests/tests/src/jsoo_485_test.js similarity index 100% rename from jscomp/test/jsoo_485_test.js rename to tests/tests/src/jsoo_485_test.js diff --git a/jscomp/test/jsoo_485_test.res b/tests/tests/src/jsoo_485_test.res similarity index 100% rename from jscomp/test/jsoo_485_test.res rename to tests/tests/src/jsoo_485_test.res diff --git a/jscomp/test/jsxv4_newtype.js b/tests/tests/src/jsxv4_newtype.js similarity index 100% rename from jscomp/test/jsxv4_newtype.js rename to tests/tests/src/jsxv4_newtype.js diff --git a/jscomp/test/jsxv4_newtype.res b/tests/tests/src/jsxv4_newtype.res similarity index 100% rename from jscomp/test/jsxv4_newtype.res rename to tests/tests/src/jsxv4_newtype.res diff --git a/jscomp/test/keep_uncurry_attribute.js b/tests/tests/src/keep_uncurry_attribute.js similarity index 100% rename from jscomp/test/keep_uncurry_attribute.js rename to tests/tests/src/keep_uncurry_attribute.js diff --git a/jscomp/test/keep_uncurry_attribute.res b/tests/tests/src/keep_uncurry_attribute.res similarity index 100% rename from jscomp/test/keep_uncurry_attribute.res rename to tests/tests/src/keep_uncurry_attribute.res diff --git a/jscomp/test/key_word_property.js b/tests/tests/src/key_word_property.js similarity index 100% rename from jscomp/test/key_word_property.js rename to tests/tests/src/key_word_property.js diff --git a/jscomp/test/key_word_property.res b/tests/tests/src/key_word_property.res similarity index 85% rename from jscomp/test/key_word_property.res rename to tests/tests/src/key_word_property.res index d5282aa5c6..9e1c73a225 100644 --- a/jscomp/test/key_word_property.res +++ b/tests/tests/src/key_word_property.res @@ -1,9 +1,3 @@ -/* [@@@config {flags = [| - "-bs-package-output"; "es6:jscomp/test" -|]}] -*/ -/* FIXME it does not work */ - type t @module("some-es6-module") external default: t = "default" @@ -32,5 +26,3 @@ let test = {"case": case, "window": 3} @send external \"switch": window => string = "switch" let u = () => \"switch"(window) - -/* 0,0,0,0,0,0,0,0,0,0,0,0,0,0 */ diff --git a/jscomp/test/key_word_property2.js b/tests/tests/src/key_word_property2.js similarity index 100% rename from jscomp/test/key_word_property2.js rename to tests/tests/src/key_word_property2.js diff --git a/jscomp/test/key_word_property2.res b/tests/tests/src/key_word_property2.res similarity index 100% rename from jscomp/test/key_word_property2.res rename to tests/tests/src/key_word_property2.res diff --git a/jscomp/test/key_word_property_plus_test.js b/tests/tests/src/key_word_property_plus_test.js similarity index 100% rename from jscomp/test/key_word_property_plus_test.js rename to tests/tests/src/key_word_property_plus_test.js diff --git a/jscomp/test/key_word_property_plus_test.res b/tests/tests/src/key_word_property_plus_test.res similarity index 100% rename from jscomp/test/key_word_property_plus_test.res rename to tests/tests/src/key_word_property_plus_test.res diff --git a/jscomp/test/label_uncurry.js b/tests/tests/src/label_uncurry.js similarity index 88% rename from jscomp/test/label_uncurry.js rename to tests/tests/src/label_uncurry.js index b0db10bae2..66176aaca9 100644 --- a/jscomp/test/label_uncurry.js +++ b/tests/tests/src/label_uncurry.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_Int = require("../../lib/js/belt_Int.js"); +let Belt_Int = require("rescript/lib/js/belt_Int.js"); function f(x) { return x; diff --git a/jscomp/test/label_uncurry.res b/tests/tests/src/label_uncurry.res similarity index 100% rename from jscomp/test/label_uncurry.res rename to tests/tests/src/label_uncurry.res diff --git a/jscomp/test/large_integer_pat.js b/tests/tests/src/large_integer_pat.js similarity index 100% rename from jscomp/test/large_integer_pat.js rename to tests/tests/src/large_integer_pat.js diff --git a/jscomp/test/large_integer_pat.res b/tests/tests/src/large_integer_pat.res similarity index 100% rename from jscomp/test/large_integer_pat.res rename to tests/tests/src/large_integer_pat.res diff --git a/jscomp/test/large_record_duplication_test.js b/tests/tests/src/large_record_duplication_test.js similarity index 95% rename from jscomp/test/large_record_duplication_test.js rename to tests/tests/src/large_record_duplication_test.js index 7ece62f23f..e68de57dbb 100644 --- a/jscomp/test/large_record_duplication_test.js +++ b/tests/tests/src/large_record_duplication_test.js @@ -2,8 +2,8 @@ 'use strict'; let Mt = require("./mt.js"); -let Primitive_object = require("../../lib/js/primitive_object.js"); -let Primitive_exceptions = require("../../lib/js/primitive_exceptions.js"); +let Primitive_object = require("rescript/lib/js/primitive_object.js"); +let Primitive_exceptions = require("rescript/lib/js/primitive_exceptions.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/large_record_duplication_test.res b/tests/tests/src/large_record_duplication_test.res similarity index 100% rename from jscomp/test/large_record_duplication_test.res rename to tests/tests/src/large_record_duplication_test.res diff --git a/jscomp/test/largest_int_flow.js b/tests/tests/src/largest_int_flow.js similarity index 100% rename from jscomp/test/largest_int_flow.js rename to tests/tests/src/largest_int_flow.js diff --git a/jscomp/test/largest_int_flow.res b/tests/tests/src/largest_int_flow.res similarity index 100% rename from jscomp/test/largest_int_flow.res rename to tests/tests/src/largest_int_flow.res diff --git a/jscomp/test/lazy_demo.js b/tests/tests/src/lazy_demo.js similarity index 89% rename from jscomp/test/lazy_demo.js rename to tests/tests/src/lazy_demo.js index ade08bad00..40b1a0717b 100644 --- a/jscomp/test/lazy_demo.js +++ b/tests/tests/src/lazy_demo.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Lazy = require("../../lib/js/lazy.js"); +let Lazy = require("rescript/lib/js/lazy.js"); let lazy1 = Lazy.from_fun(() => { console.log("Hello, lazy"); diff --git a/jscomp/test/lazy_demo.res b/tests/tests/src/lazy_demo.res similarity index 100% rename from jscomp/test/lazy_demo.res rename to tests/tests/src/lazy_demo.res diff --git a/jscomp/test/lazy_test.js b/tests/tests/src/lazy_test.js similarity index 98% rename from jscomp/test/lazy_test.js rename to tests/tests/src/lazy_test.js index 0fe29f53be..c4d51a4f52 100644 --- a/jscomp/test/lazy_test.js +++ b/tests/tests/src/lazy_test.js @@ -2,7 +2,7 @@ 'use strict'; let Mt = require("./mt.js"); -let Lazy = require("../../lib/js/lazy.js"); +let Lazy = require("rescript/lib/js/lazy.js"); let u = { contents: 3 diff --git a/jscomp/test/lazy_test.res b/tests/tests/src/lazy_test.res similarity index 100% rename from jscomp/test/lazy_test.res rename to tests/tests/src/lazy_test.res diff --git a/jscomp/test/lib_js_test.js b/tests/tests/src/lib_js_test.js similarity index 100% rename from jscomp/test/lib_js_test.js rename to tests/tests/src/lib_js_test.js diff --git a/jscomp/test/lib_js_test.res b/tests/tests/src/lib_js_test.res similarity index 100% rename from jscomp/test/lib_js_test.res rename to tests/tests/src/lib_js_test.res diff --git a/jscomp/test/limits_test.js b/tests/tests/src/limits_test.js similarity index 92% rename from jscomp/test/limits_test.js rename to tests/tests/src/limits_test.js index c3b23fca77..9ed90ae6ae 100644 --- a/jscomp/test/limits_test.js +++ b/tests/tests/src/limits_test.js @@ -2,7 +2,7 @@ 'use strict'; let Mt = require("./mt.js"); -let Pervasives = require("../../lib/js/pervasives.js"); +let Pervasives = require("rescript/lib/js/pervasives.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/limits_test.res b/tests/tests/src/limits_test.res similarity index 100% rename from jscomp/test/limits_test.res rename to tests/tests/src/limits_test.res diff --git a/jscomp/test/list_test.js b/tests/tests/src/list_test.js similarity index 92% rename from jscomp/test/list_test.js rename to tests/tests/src/list_test.js index 1558f00a75..3fa03fb764 100644 --- a/jscomp/test/list_test.js +++ b/tests/tests/src/list_test.js @@ -2,10 +2,10 @@ 'use strict'; let Mt = require("./mt.js"); -let Belt_List = require("../../lib/js/belt_List.js"); -let Belt_Array = require("../../lib/js/belt_Array.js"); -let Primitive_int = require("../../lib/js/primitive_int.js"); -let Primitive_object = require("../../lib/js/primitive_object.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); +let Belt_Array = require("rescript/lib/js/belt_Array.js"); +let Primitive_int = require("rescript/lib/js/primitive_int.js"); +let Primitive_object = require("rescript/lib/js/primitive_object.js"); let eq = Primitive_object.equal; diff --git a/jscomp/test/list_test.res b/tests/tests/src/list_test.res similarity index 100% rename from jscomp/test/list_test.res rename to tests/tests/src/list_test.res diff --git a/jscomp/test/local_exception_test.js b/tests/tests/src/local_exception_test.js similarity index 87% rename from jscomp/test/local_exception_test.js rename to tests/tests/src/local_exception_test.js index 5954f2c2fa..54b85770ae 100644 --- a/jscomp/test/local_exception_test.js +++ b/tests/tests/src/local_exception_test.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Primitive_exceptions = require("../../lib/js/primitive_exceptions.js"); +let Primitive_exceptions = require("rescript/lib/js/primitive_exceptions.js"); let A = /* @__PURE__ */Primitive_exceptions.create("Local_exception_test.A"); diff --git a/jscomp/test/local_exception_test.res b/tests/tests/src/local_exception_test.res similarity index 100% rename from jscomp/test/local_exception_test.res rename to tests/tests/src/local_exception_test.res diff --git a/jscomp/test/loop_regression_test.js b/tests/tests/src/loop_regression_test.js similarity index 100% rename from jscomp/test/loop_regression_test.js rename to tests/tests/src/loop_regression_test.js diff --git a/jscomp/test/loop_regression_test.res b/tests/tests/src/loop_regression_test.res similarity index 100% rename from jscomp/test/loop_regression_test.res rename to tests/tests/src/loop_regression_test.res diff --git a/jscomp/test/map_find_test.js b/tests/tests/src/map_find_test.js similarity index 86% rename from jscomp/test/map_find_test.js rename to tests/tests/src/map_find_test.js index 3cd748cb7a..9dd356befe 100644 --- a/jscomp/test/map_find_test.js +++ b/tests/tests/src/map_find_test.js @@ -2,9 +2,9 @@ 'use strict'; let Mt = require("./mt.js"); -let Belt_List = require("../../lib/js/belt_List.js"); -let Belt_MapInt = require("../../lib/js/belt_MapInt.js"); -let Belt_MapString = require("../../lib/js/belt_MapString.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); +let Belt_MapInt = require("rescript/lib/js/belt_MapInt.js"); +let Belt_MapString = require("rescript/lib/js/belt_MapString.js"); let m = Belt_List.reduceReverse({ hd: [ diff --git a/jscomp/test/map_find_test.res b/tests/tests/src/map_find_test.res similarity index 100% rename from jscomp/test/map_find_test.res rename to tests/tests/src/map_find_test.res diff --git a/jscomp/test/mario_game.js b/tests/tests/src/mario_game.js similarity index 99% rename from jscomp/test/mario_game.js rename to tests/tests/src/mario_game.js index cc97f07907..a183b1dd7a 100644 --- a/jscomp/test/mario_game.js +++ b/tests/tests/src/mario_game.js @@ -1,13 +1,13 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_List = require("../../lib/js/belt_List.js"); -let Pervasives = require("../../lib/js/pervasives.js"); -let Primitive_int = require("../../lib/js/primitive_int.js"); -let Primitive_bool = require("../../lib/js/primitive_bool.js"); -let Primitive_float = require("../../lib/js/primitive_float.js"); -let Primitive_object = require("../../lib/js/primitive_object.js"); -let Primitive_option = require("../../lib/js/primitive_option.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); +let Pervasives = require("rescript/lib/js/pervasives.js"); +let Primitive_int = require("rescript/lib/js/primitive_int.js"); +let Primitive_bool = require("rescript/lib/js/primitive_bool.js"); +let Primitive_float = require("rescript/lib/js/primitive_float.js"); +let Primitive_object = require("rescript/lib/js/primitive_object.js"); +let Primitive_option = require("rescript/lib/js/primitive_option.js"); function self_init() { diff --git a/jscomp/test/mario_game.res b/tests/tests/src/mario_game.res similarity index 100% rename from jscomp/test/mario_game.res rename to tests/tests/src/mario_game.res diff --git a/jscomp/test/meth_annotation.js b/tests/tests/src/meth_annotation.js similarity index 100% rename from jscomp/test/meth_annotation.js rename to tests/tests/src/meth_annotation.js diff --git a/jscomp/test/meth_annotation.res b/tests/tests/src/meth_annotation.res similarity index 100% rename from jscomp/test/meth_annotation.res rename to tests/tests/src/meth_annotation.res diff --git a/jscomp/test/method_name_test.js b/tests/tests/src/method_name_test.js similarity index 100% rename from jscomp/test/method_name_test.js rename to tests/tests/src/method_name_test.js diff --git a/jscomp/test/method_name_test.res b/tests/tests/src/method_name_test.res similarity index 100% rename from jscomp/test/method_name_test.res rename to tests/tests/src/method_name_test.res diff --git a/jscomp/test/method_string_name.js b/tests/tests/src/method_string_name.js similarity index 100% rename from jscomp/test/method_string_name.js rename to tests/tests/src/method_string_name.js diff --git a/jscomp/test/method_string_name.res b/tests/tests/src/method_string_name.res similarity index 100% rename from jscomp/test/method_string_name.res rename to tests/tests/src/method_string_name.res diff --git a/jscomp/test/minimal_test.js b/tests/tests/src/minimal_test.js similarity index 100% rename from jscomp/test/minimal_test.js rename to tests/tests/src/minimal_test.js diff --git a/jscomp/test/minimal_test.res b/tests/tests/src/minimal_test.res similarity index 100% rename from jscomp/test/minimal_test.res rename to tests/tests/src/minimal_test.res diff --git a/jscomp/test/miss_colon_test.js b/tests/tests/src/miss_colon_test.js similarity index 100% rename from jscomp/test/miss_colon_test.js rename to tests/tests/src/miss_colon_test.js diff --git a/jscomp/test/miss_colon_test.res b/tests/tests/src/miss_colon_test.res similarity index 100% rename from jscomp/test/miss_colon_test.res rename to tests/tests/src/miss_colon_test.res diff --git a/jscomp/test/mock_mt.js b/tests/tests/src/mock_mt.js similarity index 96% rename from jscomp/test/mock_mt.js rename to tests/tests/src/mock_mt.js index f542db05c8..d9d0820f7c 100644 --- a/jscomp/test/mock_mt.js +++ b/tests/tests/src/mock_mt.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_List = require("../../lib/js/belt_List.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); function from_pair_suites(name, suites) { console.log([ diff --git a/jscomp/test/mock_mt.res b/tests/tests/src/mock_mt.res similarity index 100% rename from jscomp/test/mock_mt.res rename to tests/tests/src/mock_mt.res diff --git a/jscomp/test/module_alias_test.js b/tests/tests/src/module_alias_test.js similarity index 94% rename from jscomp/test/module_alias_test.js rename to tests/tests/src/module_alias_test.js index 990dc43023..48326b6e23 100644 --- a/jscomp/test/module_alias_test.js +++ b/tests/tests/src/module_alias_test.js @@ -2,7 +2,7 @@ 'use strict'; let Mt = require("./mt.js"); -let Belt_List = require("../../lib/js/belt_List.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/module_alias_test.res b/tests/tests/src/module_alias_test.res similarity index 100% rename from jscomp/test/module_alias_test.res rename to tests/tests/src/module_alias_test.res diff --git a/jscomp/test/module_as_class_ffi.js b/tests/tests/src/module_as_class_ffi.js similarity index 100% rename from jscomp/test/module_as_class_ffi.js rename to tests/tests/src/module_as_class_ffi.js diff --git a/jscomp/test/module_as_class_ffi.res b/tests/tests/src/module_as_class_ffi.res similarity index 100% rename from jscomp/test/module_as_class_ffi.res rename to tests/tests/src/module_as_class_ffi.res diff --git a/jscomp/test/module_as_function.js b/tests/tests/src/module_as_function.js similarity index 100% rename from jscomp/test/module_as_function.js rename to tests/tests/src/module_as_function.js diff --git a/jscomp/test/module_as_function.res b/tests/tests/src/module_as_function.res similarity index 100% rename from jscomp/test/module_as_function.res rename to tests/tests/src/module_as_function.res diff --git a/jscomp/test/module_missing_conversion.js b/tests/tests/src/module_missing_conversion.js similarity index 93% rename from jscomp/test/module_missing_conversion.js rename to tests/tests/src/module_missing_conversion.js index 71af1b0e1b..bc223525cb 100644 --- a/jscomp/test/module_missing_conversion.js +++ b/tests/tests/src/module_missing_conversion.js @@ -1,9 +1,9 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let $$String = require("../../lib/js/string.js"); -let Belt_Array = require("../../lib/js/belt_Array.js"); -let Primitive_array = require("../../lib/js/primitive_array.js"); +let $$String = require("rescript/lib/js/string.js"); +let Belt_Array = require("rescript/lib/js/belt_Array.js"); +let Primitive_array = require("rescript/lib/js/primitive_array.js"); function f(x) { return x; diff --git a/jscomp/test/module_missing_conversion.res b/tests/tests/src/module_missing_conversion.res similarity index 100% rename from jscomp/test/module_missing_conversion.res rename to tests/tests/src/module_missing_conversion.res diff --git a/jscomp/test/module_parameter_test.js b/tests/tests/src/module_parameter_test.js similarity index 92% rename from jscomp/test/module_parameter_test.js rename to tests/tests/src/module_parameter_test.js index 411ccb2790..0d923d5e38 100644 --- a/jscomp/test/module_parameter_test.js +++ b/tests/tests/src/module_parameter_test.js @@ -2,7 +2,7 @@ 'use strict'; let Mt = require("./mt.js"); -let $$String = require("../../lib/js/string.js"); +let $$String = require("rescript/lib/js/string.js"); function u(v) { return v; diff --git a/jscomp/test/module_parameter_test.res b/tests/tests/src/module_parameter_test.res similarity index 100% rename from jscomp/test/module_parameter_test.res rename to tests/tests/src/module_parameter_test.res diff --git a/jscomp/test/module_splice_test.js b/tests/tests/src/module_splice_test.js similarity index 100% rename from jscomp/test/module_splice_test.js rename to tests/tests/src/module_splice_test.js diff --git a/jscomp/test/module_splice_test.res b/tests/tests/src/module_splice_test.res similarity index 100% rename from jscomp/test/module_splice_test.res rename to tests/tests/src/module_splice_test.res diff --git a/jscomp/test/es6_module_test.js b/tests/tests/src/module_test.js similarity index 84% rename from jscomp/test/es6_module_test.js rename to tests/tests/src/module_test.js index ef867e0329..1d6f0f4c6b 100644 --- a/jscomp/test/es6_module_test.js +++ b/tests/tests/src/module_test.js @@ -2,13 +2,13 @@ 'use strict'; let Mt = require("./mt.js"); -let Belt_List = require("../../lib/js/belt_List.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); function length(param) { return 3; } -Mt.from_pair_suites("Es6_module_test", { +Mt.from_pair_suites("Module_test", { hd: [ "list_length", () => ({ diff --git a/jscomp/test/es6_module_test.res b/tests/tests/src/module_test.res similarity index 100% rename from jscomp/test/es6_module_test.res rename to tests/tests/src/module_test.res diff --git a/jscomp/test/more_poly_variant_test.js b/tests/tests/src/more_poly_variant_test.js similarity index 100% rename from jscomp/test/more_poly_variant_test.js rename to tests/tests/src/more_poly_variant_test.js diff --git a/jscomp/test/more_poly_variant_test.res b/tests/tests/src/more_poly_variant_test.res similarity index 100% rename from jscomp/test/more_poly_variant_test.res rename to tests/tests/src/more_poly_variant_test.res diff --git a/jscomp/test/more_uncurry.js b/tests/tests/src/more_uncurry.js similarity index 100% rename from jscomp/test/more_uncurry.js rename to tests/tests/src/more_uncurry.js diff --git a/jscomp/test/more_uncurry.res b/tests/tests/src/more_uncurry.res similarity index 100% rename from jscomp/test/more_uncurry.res rename to tests/tests/src/more_uncurry.res diff --git a/jscomp/test/mpr_6033_test.js b/tests/tests/src/mpr_6033_test.js similarity index 94% rename from jscomp/test/mpr_6033_test.js rename to tests/tests/src/mpr_6033_test.js index 8eaf159797..7126e28f35 100644 --- a/jscomp/test/mpr_6033_test.js +++ b/tests/tests/src/mpr_6033_test.js @@ -2,7 +2,7 @@ 'use strict'; let Mt = require("./mt.js"); -let Lazy = require("../../lib/js/lazy.js"); +let Lazy = require("rescript/lib/js/lazy.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/mpr_6033_test.res b/tests/tests/src/mpr_6033_test.res similarity index 100% rename from jscomp/test/mpr_6033_test.res rename to tests/tests/src/mpr_6033_test.res diff --git a/jscomp/test/mt.js b/tests/tests/src/mt.js similarity index 99% rename from jscomp/test/mt.js rename to tests/tests/src/mt.js index fb9f189cb0..fd42b6837b 100644 --- a/jscomp/test/mt.js +++ b/tests/tests/src/mt.js @@ -4,7 +4,7 @@ let Path = require("path"); let Assert = require("assert"); let Process = require("process"); -let Belt_List = require("../../lib/js/belt_List.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); function assert_fail(msg) { Assert.fail(undefined, undefined, msg, ""); diff --git a/jscomp/test/mt.res b/tests/tests/src/mt.res similarity index 100% rename from jscomp/test/mt.res rename to tests/tests/src/mt.res diff --git a/jscomp/test/mt.resi b/tests/tests/src/mt.resi similarity index 100% rename from jscomp/test/mt.resi rename to tests/tests/src/mt.resi diff --git a/jscomp/test/mt_global.js b/tests/tests/src/mt_global.js similarity index 100% rename from jscomp/test/mt_global.js rename to tests/tests/src/mt_global.js diff --git a/jscomp/test/mt_global.res b/tests/tests/src/mt_global.res similarity index 100% rename from jscomp/test/mt_global.res rename to tests/tests/src/mt_global.res diff --git a/jscomp/test/mt_global.resi b/tests/tests/src/mt_global.resi similarity index 100% rename from jscomp/test/mt_global.resi rename to tests/tests/src/mt_global.resi diff --git a/jscomp/test/mutable_obj_test.js b/tests/tests/src/mutable_obj_test.js similarity index 100% rename from jscomp/test/mutable_obj_test.js rename to tests/tests/src/mutable_obj_test.js diff --git a/jscomp/test/mutable_obj_test.res b/tests/tests/src/mutable_obj_test.res similarity index 100% rename from jscomp/test/mutable_obj_test.res rename to tests/tests/src/mutable_obj_test.res diff --git a/jscomp/test/mutable_uncurry_test.js b/tests/tests/src/mutable_uncurry_test.js similarity index 98% rename from jscomp/test/mutable_uncurry_test.js rename to tests/tests/src/mutable_uncurry_test.js index 17e6a615e0..60c1392a6f 100644 --- a/jscomp/test/mutable_uncurry_test.js +++ b/tests/tests/src/mutable_uncurry_test.js @@ -2,7 +2,7 @@ 'use strict'; let Mt = require("./mt.js"); -let Primitive_object = require("../../lib/js/primitive_object.js"); +let Primitive_object = require("rescript/lib/js/primitive_object.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/mutable_uncurry_test.res b/tests/tests/src/mutable_uncurry_test.res similarity index 100% rename from jscomp/test/mutable_uncurry_test.res rename to tests/tests/src/mutable_uncurry_test.res diff --git a/jscomp/test/mutual_non_recursive_type.js b/tests/tests/src/mutual_non_recursive_type.js similarity index 100% rename from jscomp/test/mutual_non_recursive_type.js rename to tests/tests/src/mutual_non_recursive_type.js diff --git a/jscomp/test/mutual_non_recursive_type.res b/tests/tests/src/mutual_non_recursive_type.res similarity index 100% rename from jscomp/test/mutual_non_recursive_type.res rename to tests/tests/src/mutual_non_recursive_type.res diff --git a/jscomp/test/name_mangle_test.js b/tests/tests/src/name_mangle_test.js similarity index 100% rename from jscomp/test/name_mangle_test.js rename to tests/tests/src/name_mangle_test.js diff --git a/jscomp/test/name_mangle_test.res b/tests/tests/src/name_mangle_test.res similarity index 100% rename from jscomp/test/name_mangle_test.res rename to tests/tests/src/name_mangle_test.res diff --git a/jscomp/test/nested_include.js b/tests/tests/src/nested_include.js similarity index 100% rename from jscomp/test/nested_include.js rename to tests/tests/src/nested_include.js diff --git a/jscomp/test/nested_include.res b/tests/tests/src/nested_include.res similarity index 100% rename from jscomp/test/nested_include.res rename to tests/tests/src/nested_include.res diff --git a/jscomp/test/nested_module_alias.js b/tests/tests/src/nested_module_alias.js similarity index 78% rename from jscomp/test/nested_module_alias.js rename to tests/tests/src/nested_module_alias.js index ec02b53c36..19fa23633b 100644 --- a/jscomp/test/nested_module_alias.js +++ b/tests/tests/src/nested_module_alias.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_List = require("../../lib/js/belt_List.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); function v(x) { return [ diff --git a/jscomp/test/nested_module_alias.res b/tests/tests/src/nested_module_alias.res similarity index 100% rename from jscomp/test/nested_module_alias.res rename to tests/tests/src/nested_module_alias.res diff --git a/jscomp/test/nested_obj_literal.js b/tests/tests/src/nested_obj_literal.js similarity index 100% rename from jscomp/test/nested_obj_literal.js rename to tests/tests/src/nested_obj_literal.js diff --git a/jscomp/test/nested_obj_literal.res b/tests/tests/src/nested_obj_literal.res similarity index 100% rename from jscomp/test/nested_obj_literal.res rename to tests/tests/src/nested_obj_literal.res diff --git a/jscomp/test/nested_obj_test.js b/tests/tests/src/nested_obj_test.js similarity index 100% rename from jscomp/test/nested_obj_test.js rename to tests/tests/src/nested_obj_test.js diff --git a/jscomp/test/nested_obj_test.res b/tests/tests/src/nested_obj_test.res similarity index 100% rename from jscomp/test/nested_obj_test.res rename to tests/tests/src/nested_obj_test.res diff --git a/jscomp/test/nested_pattern_match_test.js b/tests/tests/src/nested_pattern_match_test.js similarity index 100% rename from jscomp/test/nested_pattern_match_test.js rename to tests/tests/src/nested_pattern_match_test.js diff --git a/jscomp/test/nested_pattern_match_test.res b/tests/tests/src/nested_pattern_match_test.res similarity index 100% rename from jscomp/test/nested_pattern_match_test.res rename to tests/tests/src/nested_pattern_match_test.res diff --git a/jscomp/test/noassert.js b/tests/tests/src/noassert.js similarity index 100% rename from jscomp/test/noassert.js rename to tests/tests/src/noassert.js diff --git a/jscomp/test/noassert.res b/tests/tests/src/noassert.res similarity index 100% rename from jscomp/test/noassert.res rename to tests/tests/src/noassert.res diff --git a/jscomp/test/node_assert.js b/tests/tests/src/node_assert.js similarity index 100% rename from jscomp/test/node_assert.js rename to tests/tests/src/node_assert.js diff --git a/jscomp/test/node_assert.res b/tests/tests/src/node_assert.res similarity index 100% rename from jscomp/test/node_assert.res rename to tests/tests/src/node_assert.res diff --git a/jscomp/test/node_path_test.js b/tests/tests/src/node_path_test.js similarity index 100% rename from jscomp/test/node_path_test.js rename to tests/tests/src/node_path_test.js diff --git a/jscomp/test/node_path_test.res b/tests/tests/src/node_path_test.res similarity index 100% rename from jscomp/test/node_path_test.res rename to tests/tests/src/node_path_test.res diff --git a/jscomp/test/node_test.js b/tests/tests/src/node_test.js similarity index 100% rename from jscomp/test/node_test.js rename to tests/tests/src/node_test.js diff --git a/jscomp/test/node_test.res b/tests/tests/src/node_test.res similarity index 100% rename from jscomp/test/node_test.res rename to tests/tests/src/node_test.res diff --git a/jscomp/test/node_test_util.js b/tests/tests/src/node_test_util.js similarity index 100% rename from jscomp/test/node_test_util.js rename to tests/tests/src/node_test_util.js diff --git a/jscomp/test/node_test_util.res b/tests/tests/src/node_test_util.res similarity index 100% rename from jscomp/test/node_test_util.res rename to tests/tests/src/node_test_util.res diff --git a/jscomp/test/obj_literal_ppx.js b/tests/tests/src/obj_literal_ppx.js similarity index 100% rename from jscomp/test/obj_literal_ppx.js rename to tests/tests/src/obj_literal_ppx.js diff --git a/jscomp/test/obj_literal_ppx.res b/tests/tests/src/obj_literal_ppx.res similarity index 100% rename from jscomp/test/obj_literal_ppx.res rename to tests/tests/src/obj_literal_ppx.res diff --git a/jscomp/test/obj_literal_ppx_test.js b/tests/tests/src/obj_literal_ppx_test.js similarity index 100% rename from jscomp/test/obj_literal_ppx_test.js rename to tests/tests/src/obj_literal_ppx_test.js diff --git a/jscomp/test/obj_literal_ppx_test.res b/tests/tests/src/obj_literal_ppx_test.res similarity index 100% rename from jscomp/test/obj_literal_ppx_test.res rename to tests/tests/src/obj_literal_ppx_test.res diff --git a/jscomp/test/obj_magic_test.js b/tests/tests/src/obj_magic_test.js similarity index 100% rename from jscomp/test/obj_magic_test.js rename to tests/tests/src/obj_magic_test.js diff --git a/jscomp/test/obj_magic_test.res b/tests/tests/src/obj_magic_test.res similarity index 100% rename from jscomp/test/obj_magic_test.res rename to tests/tests/src/obj_magic_test.res diff --git a/jscomp/test/obj_type_test.js b/tests/tests/src/obj_type_test.js similarity index 100% rename from jscomp/test/obj_type_test.js rename to tests/tests/src/obj_type_test.js diff --git a/jscomp/test/obj_type_test.res b/tests/tests/src/obj_type_test.res similarity index 100% rename from jscomp/test/obj_type_test.res rename to tests/tests/src/obj_type_test.res diff --git a/jscomp/test/offset.js b/tests/tests/src/offset.js similarity index 100% rename from jscomp/test/offset.js rename to tests/tests/src/offset.js diff --git a/jscomp/test/offset.res b/tests/tests/src/offset.res similarity index 100% rename from jscomp/test/offset.res rename to tests/tests/src/offset.res diff --git a/jscomp/test/omit_trailing_undefined_in_external_calls.js b/tests/tests/src/omit_trailing_undefined_in_external_calls.js similarity index 100% rename from jscomp/test/omit_trailing_undefined_in_external_calls.js rename to tests/tests/src/omit_trailing_undefined_in_external_calls.js diff --git a/jscomp/test/omit_trailing_undefined_in_external_calls.res b/tests/tests/src/omit_trailing_undefined_in_external_calls.res similarity index 100% rename from jscomp/test/omit_trailing_undefined_in_external_calls.res rename to tests/tests/src/omit_trailing_undefined_in_external_calls.res diff --git a/jscomp/test/option_encoding_test.js b/tests/tests/src/option_encoding_test.js similarity index 100% rename from jscomp/test/option_encoding_test.js rename to tests/tests/src/option_encoding_test.js diff --git a/jscomp/test/option_encoding_test.res b/tests/tests/src/option_encoding_test.res similarity index 100% rename from jscomp/test/option_encoding_test.res rename to tests/tests/src/option_encoding_test.res diff --git a/jscomp/test/option_repr_test.js b/tests/tests/src/option_repr_test.js similarity index 97% rename from jscomp/test/option_repr_test.js rename to tests/tests/src/option_repr_test.js index fe23de4a84..5d6df021c4 100644 --- a/jscomp/test/option_repr_test.js +++ b/tests/tests/src/option_repr_test.js @@ -2,9 +2,9 @@ 'use strict'; let Mt = require("./mt.js"); -let Belt_List = require("../../lib/js/belt_List.js"); -let Primitive_object = require("../../lib/js/primitive_object.js"); -let Primitive_option = require("../../lib/js/primitive_option.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); +let Primitive_object = require("rescript/lib/js/primitive_object.js"); +let Primitive_option = require("rescript/lib/js/primitive_option.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/option_repr_test.res b/tests/tests/src/option_repr_test.res similarity index 100% rename from jscomp/test/option_repr_test.res rename to tests/tests/src/option_repr_test.res diff --git a/jscomp/test/optional_ffi_test.js b/tests/tests/src/optional_ffi_test.js similarity index 96% rename from jscomp/test/optional_ffi_test.js rename to tests/tests/src/optional_ffi_test.js index 6090af0dd7..a4d73b8cfa 100644 --- a/jscomp/test/optional_ffi_test.js +++ b/tests/tests/src/optional_ffi_test.js @@ -2,7 +2,7 @@ 'use strict'; let Mt = require("./mt.js"); -let Primitive_option = require("../../lib/js/primitive_option.js"); +let Primitive_option = require("rescript/lib/js/primitive_option.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/optional_ffi_test.res b/tests/tests/src/optional_ffi_test.res similarity index 100% rename from jscomp/test/optional_ffi_test.res rename to tests/tests/src/optional_ffi_test.res diff --git a/jscomp/test/optional_regression_test.js b/tests/tests/src/optional_regression_test.js similarity index 94% rename from jscomp/test/optional_regression_test.js rename to tests/tests/src/optional_regression_test.js index 06e89dab1d..5308f783e0 100644 --- a/jscomp/test/optional_regression_test.js +++ b/tests/tests/src/optional_regression_test.js @@ -2,7 +2,7 @@ 'use strict'; let Mt = require("./mt.js"); -let Primitive_option = require("../../lib/js/primitive_option.js"); +let Primitive_option = require("rescript/lib/js/primitive_option.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/optional_regression_test.res b/tests/tests/src/optional_regression_test.res similarity index 100% rename from jscomp/test/optional_regression_test.res rename to tests/tests/src/optional_regression_test.res diff --git a/jscomp/test/pipe_send_readline.js b/tests/tests/src/pipe_send_readline.js similarity index 100% rename from jscomp/test/pipe_send_readline.js rename to tests/tests/src/pipe_send_readline.js diff --git a/jscomp/test/pipe_send_readline.res b/tests/tests/src/pipe_send_readline.res similarity index 100% rename from jscomp/test/pipe_send_readline.res rename to tests/tests/src/pipe_send_readline.res diff --git a/jscomp/test/pipe_syntax.js b/tests/tests/src/pipe_syntax.js similarity index 95% rename from jscomp/test/pipe_syntax.js rename to tests/tests/src/pipe_syntax.js index a7a63a7630..345bad604e 100644 --- a/jscomp/test/pipe_syntax.js +++ b/tests/tests/src/pipe_syntax.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Primitive_option = require("../../lib/js/primitive_option.js"); +let Primitive_option = require("rescript/lib/js/primitive_option.js"); function t0(x, f) { return f(f(f(x))); diff --git a/jscomp/test/pipe_syntax.res b/tests/tests/src/pipe_syntax.res similarity index 100% rename from jscomp/test/pipe_syntax.res rename to tests/tests/src/pipe_syntax.res diff --git a/jscomp/test/poly_empty_array.js b/tests/tests/src/poly_empty_array.js similarity index 100% rename from jscomp/test/poly_empty_array.js rename to tests/tests/src/poly_empty_array.js diff --git a/jscomp/test/poly_empty_array.res b/tests/tests/src/poly_empty_array.res similarity index 100% rename from jscomp/test/poly_empty_array.res rename to tests/tests/src/poly_empty_array.res diff --git a/jscomp/test/poly_variant_test.js b/tests/tests/src/poly_variant_test.js similarity index 100% rename from jscomp/test/poly_variant_test.js rename to tests/tests/src/poly_variant_test.js diff --git a/jscomp/test/poly_variant_test.res b/tests/tests/src/poly_variant_test.res similarity index 100% rename from jscomp/test/poly_variant_test.res rename to tests/tests/src/poly_variant_test.res diff --git a/jscomp/test/poly_variant_test.resi b/tests/tests/src/poly_variant_test.resi similarity index 100% rename from jscomp/test/poly_variant_test.resi rename to tests/tests/src/poly_variant_test.resi diff --git a/jscomp/test/polymorphic_raw_test.js b/tests/tests/src/polymorphic_raw_test.js similarity index 100% rename from jscomp/test/polymorphic_raw_test.js rename to tests/tests/src/polymorphic_raw_test.js diff --git a/jscomp/test/polymorphic_raw_test.res b/tests/tests/src/polymorphic_raw_test.res similarity index 100% rename from jscomp/test/polymorphic_raw_test.res rename to tests/tests/src/polymorphic_raw_test.res diff --git a/jscomp/test/polymorphism_test.js b/tests/tests/src/polymorphism_test.js similarity index 100% rename from jscomp/test/polymorphism_test.js rename to tests/tests/src/polymorphism_test.js diff --git a/jscomp/test/polymorphism_test.res b/tests/tests/src/polymorphism_test.res similarity index 100% rename from jscomp/test/polymorphism_test.res rename to tests/tests/src/polymorphism_test.res diff --git a/jscomp/test/polymorphism_test.resi b/tests/tests/src/polymorphism_test.resi similarity index 100% rename from jscomp/test/polymorphism_test.resi rename to tests/tests/src/polymorphism_test.resi diff --git a/jscomp/test/polyvar_convert.js b/tests/tests/src/polyvar_convert.js similarity index 100% rename from jscomp/test/polyvar_convert.js rename to tests/tests/src/polyvar_convert.js diff --git a/jscomp/test/polyvar_convert.res b/tests/tests/src/polyvar_convert.res similarity index 100% rename from jscomp/test/polyvar_convert.res rename to tests/tests/src/polyvar_convert.res diff --git a/jscomp/test/polyvar_test.js b/tests/tests/src/polyvar_test.js similarity index 100% rename from jscomp/test/polyvar_test.js rename to tests/tests/src/polyvar_test.js diff --git a/jscomp/test/polyvar_test.res b/tests/tests/src/polyvar_test.res similarity index 100% rename from jscomp/test/polyvar_test.res rename to tests/tests/src/polyvar_test.res diff --git a/jscomp/test/ppx_apply_test.js b/tests/tests/src/ppx_apply_test.js similarity index 100% rename from jscomp/test/ppx_apply_test.js rename to tests/tests/src/ppx_apply_test.js diff --git a/jscomp/test/ppx_apply_test.res b/tests/tests/src/ppx_apply_test.res similarity index 100% rename from jscomp/test/ppx_apply_test.res rename to tests/tests/src/ppx_apply_test.res diff --git a/jscomp/test/pq_test.js b/tests/tests/src/pq_test.js similarity index 95% rename from jscomp/test/pq_test.js rename to tests/tests/src/pq_test.js index 7b95ee232c..013725f16c 100644 --- a/jscomp/test/pq_test.js +++ b/tests/tests/src/pq_test.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Primitive_exceptions = require("../../lib/js/primitive_exceptions.js"); +let Primitive_exceptions = require("rescript/lib/js/primitive_exceptions.js"); function insert(queue, prio, elt) { if (typeof queue !== "object") { diff --git a/jscomp/test/pq_test.res b/tests/tests/src/pq_test.res similarity index 100% rename from jscomp/test/pq_test.res rename to tests/tests/src/pq_test.res diff --git a/jscomp/test/pr6726.js b/tests/tests/src/pr6726.js similarity index 100% rename from jscomp/test/pr6726.js rename to tests/tests/src/pr6726.js diff --git a/jscomp/test/pr6726.res b/tests/tests/src/pr6726.res similarity index 100% rename from jscomp/test/pr6726.res rename to tests/tests/src/pr6726.res diff --git a/jscomp/test/prepend_data_ffi.js b/tests/tests/src/prepend_data_ffi.js similarity index 100% rename from jscomp/test/prepend_data_ffi.js rename to tests/tests/src/prepend_data_ffi.js diff --git a/jscomp/test/prepend_data_ffi.res b/tests/tests/src/prepend_data_ffi.res similarity index 100% rename from jscomp/test/prepend_data_ffi.res rename to tests/tests/src/prepend_data_ffi.res diff --git a/jscomp/test/print_alpha_test.js b/tests/tests/src/print_alpha_test.js similarity index 100% rename from jscomp/test/print_alpha_test.js rename to tests/tests/src/print_alpha_test.js diff --git a/jscomp/test/print_alpha_test.res b/tests/tests/src/print_alpha_test.res similarity index 100% rename from jscomp/test/print_alpha_test.res rename to tests/tests/src/print_alpha_test.res diff --git a/jscomp/test/queue_402.js b/tests/tests/src/queue_402.js similarity index 95% rename from jscomp/test/queue_402.js rename to tests/tests/src/queue_402.js index 8645832aa3..fbbf918c9f 100644 --- a/jscomp/test/queue_402.js +++ b/tests/tests/src/queue_402.js @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Primitive_object = require("../../lib/js/primitive_object.js"); -let Primitive_exceptions = require("../../lib/js/primitive_exceptions.js"); +let Primitive_object = require("rescript/lib/js/primitive_object.js"); +let Primitive_exceptions = require("rescript/lib/js/primitive_exceptions.js"); let Empty = /* @__PURE__ */Primitive_exceptions.create("Queue_402.Empty"); diff --git a/jscomp/test/queue_402.res b/tests/tests/src/queue_402.res similarity index 100% rename from jscomp/test/queue_402.res rename to tests/tests/src/queue_402.res diff --git a/jscomp/test/raw_output_test.js b/tests/tests/src/raw_output_test.js similarity index 100% rename from jscomp/test/raw_output_test.js rename to tests/tests/src/raw_output_test.js diff --git a/jscomp/test/raw_output_test.res b/tests/tests/src/raw_output_test.res similarity index 100% rename from jscomp/test/raw_output_test.res rename to tests/tests/src/raw_output_test.res diff --git a/jscomp/test/raw_pure_test.js b/tests/tests/src/raw_pure_test.js similarity index 86% rename from jscomp/test/raw_pure_test.js rename to tests/tests/src/raw_pure_test.js index 8a2e554ede..9d078ce936 100644 --- a/jscomp/test/raw_pure_test.js +++ b/tests/tests/src/raw_pure_test.js @@ -5,7 +5,7 @@ // hello 'use strict'; -let Belt_List = require("../../lib/js/belt_List.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); let x0 = null; diff --git a/jscomp/test/raw_pure_test.res b/tests/tests/src/raw_pure_test.res similarity index 100% rename from jscomp/test/raw_pure_test.res rename to tests/tests/src/raw_pure_test.res diff --git a/jscomp/test/rbset.js b/tests/tests/src/rbset.js similarity index 100% rename from jscomp/test/rbset.js rename to tests/tests/src/rbset.js diff --git a/jscomp/test/rbset.res b/tests/tests/src/rbset.res similarity index 100% rename from jscomp/test/rbset.res rename to tests/tests/src/rbset.res diff --git a/jscomp/test/react.js b/tests/tests/src/react.js similarity index 100% rename from jscomp/test/react.js rename to tests/tests/src/react.js diff --git a/jscomp/test/react.res b/tests/tests/src/react.res similarity index 100% rename from jscomp/test/react.res rename to tests/tests/src/react.res diff --git a/jscomp/test/reactDOMRe.js b/tests/tests/src/reactDOMRe.js similarity index 100% rename from jscomp/test/reactDOMRe.js rename to tests/tests/src/reactDOMRe.js diff --git a/jscomp/test/reactDOMRe.res b/tests/tests/src/reactDOMRe.res similarity index 100% rename from jscomp/test/reactDOMRe.res rename to tests/tests/src/reactDOMRe.res diff --git a/jscomp/test/reactDOMServerRe.js b/tests/tests/src/reactDOMServerRe.js similarity index 100% rename from jscomp/test/reactDOMServerRe.js rename to tests/tests/src/reactDOMServerRe.js diff --git a/jscomp/test/reactDOMServerRe.res b/tests/tests/src/reactDOMServerRe.res similarity index 100% rename from jscomp/test/reactDOMServerRe.res rename to tests/tests/src/reactDOMServerRe.res diff --git a/jscomp/test/reactEvent.js b/tests/tests/src/reactEvent.js similarity index 100% rename from jscomp/test/reactEvent.js rename to tests/tests/src/reactEvent.js diff --git a/jscomp/test/reactEvent.res b/tests/tests/src/reactEvent.res similarity index 100% rename from jscomp/test/reactEvent.res rename to tests/tests/src/reactEvent.res diff --git a/jscomp/test/reactEvent.resi b/tests/tests/src/reactEvent.resi similarity index 100% rename from jscomp/test/reactEvent.resi rename to tests/tests/src/reactEvent.resi diff --git a/jscomp/test/reactTestUtils.js b/tests/tests/src/reactTestUtils.js similarity index 92% rename from jscomp/test/reactTestUtils.js rename to tests/tests/src/reactTestUtils.js index 26942dd073..0b5fd96a21 100644 --- a/jscomp/test/reactTestUtils.js +++ b/tests/tests/src/reactTestUtils.js @@ -1,9 +1,9 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_Array = require("../../lib/js/belt_Array.js"); -let Belt_Option = require("../../lib/js/belt_Option.js"); -let Primitive_option = require("../../lib/js/primitive_option.js"); +let Belt_Array = require("rescript/lib/js/belt_Array.js"); +let Belt_Option = require("rescript/lib/js/belt_Option.js"); +let Primitive_option = require("rescript/lib/js/primitive_option.js"); let TestUtils = require("react-dom/test-utils"); function act(func) { diff --git a/jscomp/test/reactTestUtils.res b/tests/tests/src/reactTestUtils.res similarity index 100% rename from jscomp/test/reactTestUtils.res rename to tests/tests/src/reactTestUtils.res diff --git a/jscomp/test/reactTestUtils.resi b/tests/tests/src/reactTestUtils.resi similarity index 100% rename from jscomp/test/reactTestUtils.resi rename to tests/tests/src/reactTestUtils.resi diff --git a/jscomp/test/reasonReact.js b/tests/tests/src/reasonReact.js similarity index 100% rename from jscomp/test/reasonReact.js rename to tests/tests/src/reasonReact.js diff --git a/jscomp/test/reasonReact.res b/tests/tests/src/reasonReact.res similarity index 100% rename from jscomp/test/reasonReact.res rename to tests/tests/src/reasonReact.res diff --git a/jscomp/test/reasonReact.resi b/tests/tests/src/reasonReact.resi similarity index 100% rename from jscomp/test/reasonReact.resi rename to tests/tests/src/reasonReact.resi diff --git a/jscomp/test/reasonReactCompat.js b/tests/tests/src/reasonReactCompat.js similarity index 100% rename from jscomp/test/reasonReactCompat.js rename to tests/tests/src/reasonReactCompat.js diff --git a/jscomp/test/reasonReactCompat.res b/tests/tests/src/reasonReactCompat.res similarity index 100% rename from jscomp/test/reasonReactCompat.res rename to tests/tests/src/reasonReactCompat.res diff --git a/jscomp/test/reasonReactCompat.resi b/tests/tests/src/reasonReactCompat.resi similarity index 100% rename from jscomp/test/reasonReactCompat.resi rename to tests/tests/src/reasonReactCompat.resi diff --git a/jscomp/test/reasonReactOptimizedCreateClass.js b/tests/tests/src/reasonReactOptimizedCreateClass.js similarity index 100% rename from jscomp/test/reasonReactOptimizedCreateClass.js rename to tests/tests/src/reasonReactOptimizedCreateClass.js diff --git a/jscomp/test/reasonReactOptimizedCreateClass.res b/tests/tests/src/reasonReactOptimizedCreateClass.res similarity index 100% rename from jscomp/test/reasonReactOptimizedCreateClass.res rename to tests/tests/src/reasonReactOptimizedCreateClass.res diff --git a/jscomp/test/reasonReactRouter.js b/tests/tests/src/reasonReactRouter.js similarity index 98% rename from jscomp/test/reasonReactRouter.js rename to tests/tests/src/reasonReactRouter.js index fb23304d77..2df6d93fd1 100644 --- a/jscomp/test/reasonReactRouter.js +++ b/tests/tests/src/reasonReactRouter.js @@ -2,7 +2,7 @@ 'use strict'; let React = require("react"); -let Primitive_option = require("../../lib/js/primitive_option.js"); +let Primitive_option = require("rescript/lib/js/primitive_option.js"); function safeMakeEvent(eventName) { if (typeof Event === "function") { diff --git a/jscomp/test/reasonReactRouter.res b/tests/tests/src/reasonReactRouter.res similarity index 100% rename from jscomp/test/reasonReactRouter.res rename to tests/tests/src/reasonReactRouter.res diff --git a/jscomp/test/reasonReactRouter.resi b/tests/tests/src/reasonReactRouter.resi similarity index 100% rename from jscomp/test/reasonReactRouter.resi rename to tests/tests/src/reasonReactRouter.resi diff --git a/jscomp/test/rebind_module.js b/tests/tests/src/rebind_module.js similarity index 76% rename from jscomp/test/rebind_module.js rename to tests/tests/src/rebind_module.js index f3b7a8247b..64bf3940b0 100644 --- a/jscomp/test/rebind_module.js +++ b/tests/tests/src/rebind_module.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Primitive_exceptions = require("../../lib/js/primitive_exceptions.js"); +let Primitive_exceptions = require("rescript/lib/js/primitive_exceptions.js"); let A = /* @__PURE__ */Primitive_exceptions.create("Rebind_module.A"); diff --git a/jscomp/test/rebind_module.res b/tests/tests/src/rebind_module.res similarity index 100% rename from jscomp/test/rebind_module.res rename to tests/tests/src/rebind_module.res diff --git a/jscomp/test/rebind_module_test.js b/tests/tests/src/rebind_module_test.js similarity index 100% rename from jscomp/test/rebind_module_test.js rename to tests/tests/src/rebind_module_test.js diff --git a/jscomp/test/rebind_module_test.res b/tests/tests/src/rebind_module_test.res similarity index 100% rename from jscomp/test/rebind_module_test.res rename to tests/tests/src/rebind_module_test.res diff --git a/jscomp/test/rec_array_test.js b/tests/tests/src/rec_array_test.js similarity index 80% rename from jscomp/test/rec_array_test.js rename to tests/tests/src/rec_array_test.js index d506b66f9c..8740f85b97 100644 --- a/jscomp/test/rec_array_test.js +++ b/tests/tests/src/rec_array_test.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Primitive_object = require("../../lib/js/primitive_object.js"); +let Primitive_object = require("rescript/lib/js/primitive_object.js"); let vicky = {}; diff --git a/jscomp/test/rec_array_test.res b/tests/tests/src/rec_array_test.res similarity index 100% rename from jscomp/test/rec_array_test.res rename to tests/tests/src/rec_array_test.res diff --git a/jscomp/test/rec_fun_test.js b/tests/tests/src/rec_fun_test.js similarity index 94% rename from jscomp/test/rec_fun_test.js rename to tests/tests/src/rec_fun_test.js index ef75d908b9..6a76a3001d 100644 --- a/jscomp/test/rec_fun_test.js +++ b/tests/tests/src/rec_fun_test.js @@ -2,7 +2,7 @@ 'use strict'; let Mt = require("./mt.js"); -let Primitive_object = require("../../lib/js/primitive_object.js"); +let Primitive_object = require("rescript/lib/js/primitive_object.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/rec_fun_test.res b/tests/tests/src/rec_fun_test.res similarity index 100% rename from jscomp/test/rec_fun_test.res rename to tests/tests/src/rec_fun_test.res diff --git a/jscomp/test/rec_module_opt.js b/tests/tests/src/rec_module_opt.js similarity index 85% rename from jscomp/test/rec_module_opt.js rename to tests/tests/src/rec_module_opt.js index 53bd9e6b65..b5c4a5bfd7 100644 --- a/jscomp/test/rec_module_opt.js +++ b/tests/tests/src/rec_module_opt.js @@ -1,10 +1,10 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Obj = require("../../lib/js/obj.js"); -let Belt_Id = require("../../lib/js/belt_Id.js"); -let Primitive_module = require("../../lib/js/primitive_module.js"); -let Primitive_string = require("../../lib/js/primitive_string.js"); +let Obj = require("rescript/lib/js/obj.js"); +let Belt_Id = require("rescript/lib/js/belt_Id.js"); +let Primitive_module = require("rescript/lib/js/primitive_module.js"); +let Primitive_string = require("rescript/lib/js/primitive_string.js"); let A = Primitive_module.init([ "rec_module_opt.res", diff --git a/jscomp/test/rec_module_opt.res b/tests/tests/src/rec_module_opt.res similarity index 100% rename from jscomp/test/rec_module_opt.res rename to tests/tests/src/rec_module_opt.res diff --git a/jscomp/test/rec_module_test.js b/tests/tests/src/rec_module_test.js similarity index 97% rename from jscomp/test/rec_module_test.js rename to tests/tests/src/rec_module_test.js index b69fc9201c..669e3373c4 100644 --- a/jscomp/test/rec_module_test.js +++ b/tests/tests/src/rec_module_test.js @@ -2,7 +2,7 @@ 'use strict'; let Mt = require("./mt.js"); -let Primitive_module = require("../../lib/js/primitive_module.js"); +let Primitive_module = require("rescript/lib/js/primitive_module.js"); let A = Primitive_module.init([ "rec_module_test.res", diff --git a/jscomp/test/rec_module_test.res b/tests/tests/src/rec_module_test.res similarity index 100% rename from jscomp/test/rec_module_test.res rename to tests/tests/src/rec_module_test.res diff --git a/jscomp/test/recmodule.js b/tests/tests/src/recmodule.js similarity index 97% rename from jscomp/test/recmodule.js rename to tests/tests/src/recmodule.js index c5a87cdd90..b27e85c176 100644 --- a/jscomp/test/recmodule.js +++ b/tests/tests/src/recmodule.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Primitive_module = require("../../lib/js/primitive_module.js"); +let Primitive_module = require("rescript/lib/js/primitive_module.js"); let Entity = {}; diff --git a/jscomp/test/recmodule.res b/tests/tests/src/recmodule.res similarity index 100% rename from jscomp/test/recmodule.res rename to tests/tests/src/recmodule.res diff --git a/jscomp/test/record_debug_test.js b/tests/tests/src/record_debug_test.js similarity index 95% rename from jscomp/test/record_debug_test.js rename to tests/tests/src/record_debug_test.js index b7de4bc22c..2004dd2d68 100644 --- a/jscomp/test/record_debug_test.js +++ b/tests/tests/src/record_debug_test.js @@ -2,7 +2,7 @@ 'use strict'; let Mt = require("./mt.js"); -let Primitive_exceptions = require("../../lib/js/primitive_exceptions.js"); +let Primitive_exceptions = require("rescript/lib/js/primitive_exceptions.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/record_debug_test.res b/tests/tests/src/record_debug_test.res similarity index 100% rename from jscomp/test/record_debug_test.res rename to tests/tests/src/record_debug_test.res diff --git a/jscomp/test/record_extension_test.js b/tests/tests/src/record_extension_test.js similarity index 86% rename from jscomp/test/record_extension_test.js rename to tests/tests/src/record_extension_test.js index 0091bb3cb8..89e42977ee 100644 --- a/jscomp/test/record_extension_test.js +++ b/tests/tests/src/record_extension_test.js @@ -2,8 +2,8 @@ 'use strict'; let Mt = require("./mt.js"); -let Belt_Int = require("../../lib/js/belt_Int.js"); -let Primitive_exceptions = require("../../lib/js/primitive_exceptions.js"); +let Belt_Int = require("rescript/lib/js/belt_Int.js"); +let Primitive_exceptions = require("rescript/lib/js/primitive_exceptions.js"); let suites = { contents: /* [] */0 @@ -45,18 +45,18 @@ function f(x) { } -eq("File \"record_extension_test.res\", line 28, characters 3-10", f({ +eq("File \"record_extension_test.res\", line 26, characters 3-10", f({ RE_EXN_ID: Inline_record, x: 3, y: "4" }), 7); -eq("File \"record_extension_test.res\", line 29, characters 3-10", f({ +eq("File \"record_extension_test.res\", line 27, characters 3-10", f({ RE_EXN_ID: SinglePayload, _1: "1" }), 1); -eq("File \"record_extension_test.res\", line 30, characters 3-10", f({ +eq("File \"record_extension_test.res\", line 28, characters 3-10", f({ RE_EXN_ID: TuplePayload, _1: 1, _2: "2" @@ -105,7 +105,7 @@ function u(f) { } } -eq("File \"record_extension_test.res\", line 67, characters 3-10", u(() => { +eq("File \"record_extension_test.res\", line 65, characters 3-10", u(() => { throw { RE_EXN_ID: A, name: 1, @@ -114,7 +114,7 @@ eq("File \"record_extension_test.res\", line 67, characters 3-10", u(() => { }; }), 2); -eq("File \"record_extension_test.res\", line 68, characters 3-10", u(() => { +eq("File \"record_extension_test.res\", line 66, characters 3-10", u(() => { throw { RE_EXN_ID: B, _1: 1, @@ -123,7 +123,7 @@ eq("File \"record_extension_test.res\", line 68, characters 3-10", u(() => { }; }), 3); -eq("File \"record_extension_test.res\", line 69, characters 3-10", u(() => { +eq("File \"record_extension_test.res\", line 67, characters 3-10", u(() => { throw { RE_EXN_ID: C, name: 4, @@ -131,7 +131,7 @@ eq("File \"record_extension_test.res\", line 69, characters 3-10", u(() => { }; }), 4); -Mt.from_pair_suites("File \"record_extension_test.res\", line 71, characters 29-36", suites.contents); +Mt.from_pair_suites("File \"record_extension_test.res\", line 69, characters 29-36", suites.contents); exports.suites = suites; exports.test_id = test_id; diff --git a/jscomp/test/record_extension_test.res b/tests/tests/src/record_extension_test.res similarity index 95% rename from jscomp/test/record_extension_test.res rename to tests/tests/src/record_extension_test.res index c10eb53ee8..4216f1f3b2 100644 --- a/jscomp/test/record_extension_test.res +++ b/tests/tests/src/record_extension_test.res @@ -1,5 +1,3 @@ -/* for o in jscomp/test/*test.js ; do npx mocha $o ; done */ */ - let suites: ref = ref(list{}) let test_id = ref(0) let eq = (loc, x, y) => Mt.eq_suites(~test_id, ~suites, loc, x, y) diff --git a/jscomp/test/record_name_test.js b/tests/tests/src/record_name_test.js similarity index 100% rename from jscomp/test/record_name_test.js rename to tests/tests/src/record_name_test.js diff --git a/jscomp/test/record_name_test.res b/tests/tests/src/record_name_test.res similarity index 100% rename from jscomp/test/record_name_test.res rename to tests/tests/src/record_name_test.res diff --git a/jscomp/test/record_regression.js b/tests/tests/src/record_regression.js similarity index 98% rename from jscomp/test/record_regression.js rename to tests/tests/src/record_regression.js index 4d1ccad64c..aaa654423b 100644 --- a/jscomp/test/record_regression.js +++ b/tests/tests/src/record_regression.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Primitive_option = require("../../lib/js/primitive_option.js"); +let Primitive_option = require("rescript/lib/js/primitive_option.js"); let f1 = { x: 3, diff --git a/jscomp/test/record_regression.res b/tests/tests/src/record_regression.res similarity index 100% rename from jscomp/test/record_regression.res rename to tests/tests/src/record_regression.res diff --git a/jscomp/test/record_type_spread.js b/tests/tests/src/record_type_spread.js similarity index 100% rename from jscomp/test/record_type_spread.js rename to tests/tests/src/record_type_spread.js diff --git a/jscomp/test/record_type_spread.res b/tests/tests/src/record_type_spread.res similarity index 100% rename from jscomp/test/record_type_spread.res rename to tests/tests/src/record_type_spread.res diff --git a/jscomp/test/record_with_test.js b/tests/tests/src/record_with_test.js similarity index 100% rename from jscomp/test/record_with_test.js rename to tests/tests/src/record_with_test.js diff --git a/jscomp/test/record_with_test.res b/tests/tests/src/record_with_test.res similarity index 100% rename from jscomp/test/record_with_test.res rename to tests/tests/src/record_with_test.res diff --git a/jscomp/test/recursive_module.js b/tests/tests/src/recursive_module.js similarity index 93% rename from jscomp/test/recursive_module.js rename to tests/tests/src/recursive_module.js index 51423dc9a3..8782ce6ac7 100644 --- a/jscomp/test/recursive_module.js +++ b/tests/tests/src/recursive_module.js @@ -2,9 +2,9 @@ 'use strict'; let Mt = require("./mt.js"); -let Lazy = require("../../lib/js/lazy.js"); -let Primitive_module = require("../../lib/js/primitive_module.js"); -let Primitive_exceptions = require("../../lib/js/primitive_exceptions.js"); +let Lazy = require("rescript/lib/js/lazy.js"); +let Primitive_module = require("rescript/lib/js/primitive_module.js"); +let Primitive_exceptions = require("rescript/lib/js/primitive_exceptions.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/recursive_module.res b/tests/tests/src/recursive_module.res similarity index 100% rename from jscomp/test/recursive_module.res rename to tests/tests/src/recursive_module.res diff --git a/jscomp/test/recursive_module_test.js b/tests/tests/src/recursive_module_test.js similarity index 95% rename from jscomp/test/recursive_module_test.js rename to tests/tests/src/recursive_module_test.js index 3f378f4b62..ccb0aa1b0d 100644 --- a/jscomp/test/recursive_module_test.js +++ b/tests/tests/src/recursive_module_test.js @@ -2,7 +2,7 @@ 'use strict'; let Mt = require("./mt.js"); -let Primitive_module = require("../../lib/js/primitive_module.js"); +let Primitive_module = require("rescript/lib/js/primitive_module.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/recursive_module_test.res b/tests/tests/src/recursive_module_test.res similarity index 100% rename from jscomp/test/recursive_module_test.res rename to tests/tests/src/recursive_module_test.res diff --git a/jscomp/test/recursive_react_component.js b/tests/tests/src/recursive_react_component.js similarity index 100% rename from jscomp/test/recursive_react_component.js rename to tests/tests/src/recursive_react_component.js diff --git a/jscomp/test/recursive_react_component.res b/tests/tests/src/recursive_react_component.res similarity index 100% rename from jscomp/test/recursive_react_component.res rename to tests/tests/src/recursive_react_component.res diff --git a/jscomp/test/recursive_records_test.js b/tests/tests/src/recursive_records_test.js similarity index 95% rename from jscomp/test/recursive_records_test.js rename to tests/tests/src/recursive_records_test.js index 755fc2e894..447095430c 100644 --- a/jscomp/test/recursive_records_test.js +++ b/tests/tests/src/recursive_records_test.js @@ -2,8 +2,8 @@ 'use strict'; let Mt = require("./mt.js"); -let Belt_List = require("../../lib/js/belt_List.js"); -let Primitive_object = require("../../lib/js/primitive_object.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); +let Primitive_object = require("rescript/lib/js/primitive_object.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/recursive_records_test.res b/tests/tests/src/recursive_records_test.res similarity index 100% rename from jscomp/test/recursive_records_test.res rename to tests/tests/src/recursive_records_test.res diff --git a/jscomp/test/recursive_unbound_module_test.js b/tests/tests/src/recursive_unbound_module_test.js similarity index 91% rename from jscomp/test/recursive_unbound_module_test.js rename to tests/tests/src/recursive_unbound_module_test.js index 69d6e404c9..926db67d16 100644 --- a/jscomp/test/recursive_unbound_module_test.js +++ b/tests/tests/src/recursive_unbound_module_test.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Primitive_module = require("../../lib/js/primitive_module.js"); +let Primitive_module = require("rescript/lib/js/primitive_module.js"); function Make(X) { let f = () => {}; diff --git a/jscomp/test/recursive_unbound_module_test.res b/tests/tests/src/recursive_unbound_module_test.res similarity index 100% rename from jscomp/test/recursive_unbound_module_test.res rename to tests/tests/src/recursive_unbound_module_test.res diff --git a/jscomp/test/regression_print.js b/tests/tests/src/regression_print.js similarity index 100% rename from jscomp/test/regression_print.js rename to tests/tests/src/regression_print.js diff --git a/jscomp/test/regression_print.res b/tests/tests/src/regression_print.res similarity index 100% rename from jscomp/test/regression_print.res rename to tests/tests/src/regression_print.res diff --git a/jscomp/test/relative_path.js b/tests/tests/src/relative_path.js similarity index 100% rename from jscomp/test/relative_path.js rename to tests/tests/src/relative_path.js diff --git a/jscomp/test/relative_path.res b/tests/tests/src/relative_path.res similarity index 100% rename from jscomp/test/relative_path.res rename to tests/tests/src/relative_path.res diff --git a/jscomp/test/res_debug.js b/tests/tests/src/res_debug.js similarity index 94% rename from jscomp/test/res_debug.js rename to tests/tests/src/res_debug.js index 10aa0a5198..ea3cb2fa3a 100644 --- a/jscomp/test/res_debug.js +++ b/tests/tests/src/res_debug.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Primitive_option = require("../../lib/js/primitive_option.js"); +let Primitive_option = require("rescript/lib/js/primitive_option.js"); function f(window, a, b) { return window.location(a, b); diff --git a/jscomp/test/res_debug.res b/tests/tests/src/res_debug.res similarity index 100% rename from jscomp/test/res_debug.res rename to tests/tests/src/res_debug.res diff --git a/jscomp/test/return_check.js b/tests/tests/src/return_check.js similarity index 95% rename from jscomp/test/return_check.js rename to tests/tests/src/return_check.js index 14afe51bc7..bf47aa1ae0 100644 --- a/jscomp/test/return_check.js +++ b/tests/tests/src/return_check.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Primitive_option = require("../../lib/js/primitive_option.js"); +let Primitive_option = require("rescript/lib/js/primitive_option.js"); function test(dom) { let elem = dom.getElementById("haha"); diff --git a/jscomp/test/return_check.res b/tests/tests/src/return_check.res similarity index 100% rename from jscomp/test/return_check.res rename to tests/tests/src/return_check.res diff --git a/jscomp/test/runtime_encoding_test.js b/tests/tests/src/runtime_encoding_test.js similarity index 100% rename from jscomp/test/runtime_encoding_test.js rename to tests/tests/src/runtime_encoding_test.js diff --git a/jscomp/test/runtime_encoding_test.res b/tests/tests/src/runtime_encoding_test.res similarity index 100% rename from jscomp/test/runtime_encoding_test.res rename to tests/tests/src/runtime_encoding_test.res diff --git a/jscomp/test/set_annotation.js b/tests/tests/src/set_annotation.js similarity index 100% rename from jscomp/test/set_annotation.js rename to tests/tests/src/set_annotation.js diff --git a/jscomp/test/set_annotation.res b/tests/tests/src/set_annotation.res similarity index 100% rename from jscomp/test/set_annotation.res rename to tests/tests/src/set_annotation.res diff --git a/jscomp/test/set_gen.js b/tests/tests/src/set_gen.js similarity index 98% rename from jscomp/test/set_gen.js rename to tests/tests/src/set_gen.js index dbf9786391..3becff0e2e 100644 --- a/jscomp/test/set_gen.js +++ b/tests/tests/src/set_gen.js @@ -1,9 +1,9 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_List = require("../../lib/js/belt_List.js"); -let Pervasives = require("../../lib/js/pervasives.js"); -let Primitive_exceptions = require("../../lib/js/primitive_exceptions.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); +let Pervasives = require("rescript/lib/js/pervasives.js"); +let Primitive_exceptions = require("rescript/lib/js/primitive_exceptions.js"); function cons_enum(_s, _e) { while (true) { diff --git a/jscomp/test/set_gen.res b/tests/tests/src/set_gen.res similarity index 100% rename from jscomp/test/set_gen.res rename to tests/tests/src/set_gen.res diff --git a/jscomp/test/side_effect.js b/tests/tests/src/side_effect.js similarity index 100% rename from jscomp/test/side_effect.js rename to tests/tests/src/side_effect.js diff --git a/jscomp/test/side_effect.res b/tests/tests/src/side_effect.res similarity index 100% rename from jscomp/test/side_effect.res rename to tests/tests/src/side_effect.res diff --git a/jscomp/test/side_effect2.js b/tests/tests/src/side_effect2.js similarity index 70% rename from jscomp/test/side_effect2.js rename to tests/tests/src/side_effect2.js index 575c6b65a6..9bdd0928fb 100644 --- a/jscomp/test/side_effect2.js +++ b/tests/tests/src/side_effect2.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_Array = require("../../lib/js/belt_Array.js"); +let Belt_Array = require("rescript/lib/js/belt_Array.js"); let a = Belt_Array.map([1], x => x); diff --git a/jscomp/test/side_effect2.res b/tests/tests/src/side_effect2.res similarity index 100% rename from jscomp/test/side_effect2.res rename to tests/tests/src/side_effect2.res diff --git a/jscomp/test/side_effect_free.js b/tests/tests/src/side_effect_free.js similarity index 100% rename from jscomp/test/side_effect_free.js rename to tests/tests/src/side_effect_free.js diff --git a/jscomp/test/side_effect_free.res b/tests/tests/src/side_effect_free.res similarity index 100% rename from jscomp/test/side_effect_free.res rename to tests/tests/src/side_effect_free.res diff --git a/jscomp/test/simplify_lambda_632o.js b/tests/tests/src/simplify_lambda_632o.js similarity index 100% rename from jscomp/test/simplify_lambda_632o.js rename to tests/tests/src/simplify_lambda_632o.js diff --git a/jscomp/test/simplify_lambda_632o.res b/tests/tests/src/simplify_lambda_632o.res similarity index 100% rename from jscomp/test/simplify_lambda_632o.res rename to tests/tests/src/simplify_lambda_632o.res diff --git a/jscomp/test/singular_unit_test.js b/tests/tests/src/singular_unit_test.js similarity index 100% rename from jscomp/test/singular_unit_test.js rename to tests/tests/src/singular_unit_test.js diff --git a/jscomp/test/singular_unit_test.res b/tests/tests/src/singular_unit_test.res similarity index 100% rename from jscomp/test/singular_unit_test.res rename to tests/tests/src/singular_unit_test.res diff --git a/jscomp/test/small_inline_test.js b/tests/tests/src/small_inline_test.js similarity index 100% rename from jscomp/test/small_inline_test.js rename to tests/tests/src/small_inline_test.js diff --git a/jscomp/test/small_inline_test.res b/tests/tests/src/small_inline_test.res similarity index 100% rename from jscomp/test/small_inline_test.res rename to tests/tests/src/small_inline_test.res diff --git a/jscomp/test/splice_test.js b/tests/tests/src/splice_test.js similarity index 97% rename from jscomp/test/splice_test.js rename to tests/tests/src/splice_test.js index 12a6befaca..10827515b3 100644 --- a/jscomp/test/splice_test.js +++ b/tests/tests/src/splice_test.js @@ -2,7 +2,7 @@ 'use strict'; let Mt = require("./mt.js"); -let Belt_Array = require("../../lib/js/belt_Array.js"); +let Belt_Array = require("rescript/lib/js/belt_Array.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/splice_test.res b/tests/tests/src/splice_test.res similarity index 100% rename from jscomp/test/splice_test.res rename to tests/tests/src/splice_test.res diff --git a/jscomp/test/string_bound_get_test.js b/tests/tests/src/string_bound_get_test.js similarity index 100% rename from jscomp/test/string_bound_get_test.js rename to tests/tests/src/string_bound_get_test.js diff --git a/jscomp/test/string_bound_get_test.res b/tests/tests/src/string_bound_get_test.res similarity index 100% rename from jscomp/test/string_bound_get_test.res rename to tests/tests/src/string_bound_get_test.res diff --git a/jscomp/test/string_constant_compare.js b/tests/tests/src/string_constant_compare.js similarity index 100% rename from jscomp/test/string_constant_compare.js rename to tests/tests/src/string_constant_compare.js diff --git a/jscomp/test/string_constant_compare.res b/tests/tests/src/string_constant_compare.res similarity index 100% rename from jscomp/test/string_constant_compare.res rename to tests/tests/src/string_constant_compare.res diff --git a/jscomp/test/string_set.js b/tests/tests/src/string_set.js similarity index 97% rename from jscomp/test/string_set.js rename to tests/tests/src/string_set.js index 874e8afa73..cc6a15abcf 100644 --- a/jscomp/test/string_set.js +++ b/tests/tests/src/string_set.js @@ -2,9 +2,9 @@ 'use strict'; let Set_gen = require("./set_gen.js"); -let Belt_List = require("../../lib/js/belt_List.js"); -let Belt_Array = require("../../lib/js/belt_Array.js"); -let Primitive_string = require("../../lib/js/primitive_string.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); +let Belt_Array = require("rescript/lib/js/belt_Array.js"); +let Primitive_string = require("rescript/lib/js/primitive_string.js"); let compare_elt = Primitive_string.compare; diff --git a/jscomp/test/string_set.res b/tests/tests/src/string_set.res similarity index 100% rename from jscomp/test/string_set.res rename to tests/tests/src/string_set.res diff --git a/jscomp/test/string_set_test.js b/tests/tests/src/string_set_test.js similarity index 100% rename from jscomp/test/string_set_test.js rename to tests/tests/src/string_set_test.js diff --git a/jscomp/test/string_set_test.res b/tests/tests/src/string_set_test.res similarity index 100% rename from jscomp/test/string_set_test.res rename to tests/tests/src/string_set_test.res diff --git a/jscomp/test/string_unicode_test.js b/tests/tests/src/string_unicode_test.js similarity index 100% rename from jscomp/test/string_unicode_test.js rename to tests/tests/src/string_unicode_test.js diff --git a/jscomp/test/string_unicode_test.res b/tests/tests/src/string_unicode_test.res similarity index 100% rename from jscomp/test/string_unicode_test.res rename to tests/tests/src/string_unicode_test.res diff --git a/jscomp/test/stringmatch_test.js b/tests/tests/src/stringmatch_test.js similarity index 100% rename from jscomp/test/stringmatch_test.js rename to tests/tests/src/stringmatch_test.js diff --git a/jscomp/test/stringmatch_test.res b/tests/tests/src/stringmatch_test.res similarity index 100% rename from jscomp/test/stringmatch_test.res rename to tests/tests/src/stringmatch_test.res diff --git a/jscomp/test/submodule.js b/tests/tests/src/submodule.js similarity index 100% rename from jscomp/test/submodule.js rename to tests/tests/src/submodule.js diff --git a/jscomp/test/submodule.res b/tests/tests/src/submodule.res similarity index 100% rename from jscomp/test/submodule.res rename to tests/tests/src/submodule.res diff --git a/jscomp/test/submodule_call.js b/tests/tests/src/submodule_call.js similarity index 100% rename from jscomp/test/submodule_call.js rename to tests/tests/src/submodule_call.js diff --git a/jscomp/test/submodule_call.res b/tests/tests/src/submodule_call.res similarity index 100% rename from jscomp/test/submodule_call.res rename to tests/tests/src/submodule_call.res diff --git a/jscomp/test/switch_case_test.js b/tests/tests/src/switch_case_test.js similarity index 100% rename from jscomp/test/switch_case_test.js rename to tests/tests/src/switch_case_test.js diff --git a/jscomp/test/switch_case_test.res b/tests/tests/src/switch_case_test.res similarity index 100% rename from jscomp/test/switch_case_test.res rename to tests/tests/src/switch_case_test.res diff --git a/jscomp/test/switch_string.js b/tests/tests/src/switch_string.js similarity index 100% rename from jscomp/test/switch_string.js rename to tests/tests/src/switch_string.js diff --git a/jscomp/test/switch_string.res b/tests/tests/src/switch_string.res similarity index 100% rename from jscomp/test/switch_string.res rename to tests/tests/src/switch_string.res diff --git a/jscomp/test/tagged_template_lib.js b/tests/tests/src/tagged_template_lib.js similarity index 100% rename from jscomp/test/tagged_template_lib.js rename to tests/tests/src/tagged_template_lib.js diff --git a/jscomp/test/tagged_template_test.js b/tests/tests/src/tagged_template_test.js similarity index 97% rename from jscomp/test/tagged_template_test.js rename to tests/tests/src/tagged_template_test.js index 29099d8559..d5baeebef0 100644 --- a/jscomp/test/tagged_template_test.js +++ b/tests/tests/src/tagged_template_test.js @@ -2,7 +2,7 @@ 'use strict'; let Mt = require("./mt.js"); -let Primitive_array = require("../../lib/js/primitive_array.js"); +let Primitive_array = require("rescript/lib/js/primitive_array.js"); let Tagged_template_libJs = require("./tagged_template_lib.js"); function sql(prim0, prim1) { diff --git a/jscomp/test/tagged_template_test.res b/tests/tests/src/tagged_template_test.res similarity index 100% rename from jscomp/test/tagged_template_test.res rename to tests/tests/src/tagged_template_test.res diff --git a/jscomp/test/tailcall_inline_test.js b/tests/tests/src/tailcall_inline_test.js similarity index 86% rename from jscomp/test/tailcall_inline_test.js rename to tests/tests/src/tailcall_inline_test.js index 9861af68fa..c7c8aa4a5d 100644 --- a/jscomp/test/tailcall_inline_test.js +++ b/tests/tests/src/tailcall_inline_test.js @@ -2,8 +2,8 @@ 'use strict'; let Mt = require("./mt.js"); -let Belt_Array = require("../../lib/js/belt_Array.js"); -let Primitive_array = require("../../lib/js/primitive_array.js"); +let Belt_Array = require("rescript/lib/js/belt_Array.js"); +let Primitive_array = require("rescript/lib/js/primitive_array.js"); function f() { let f$1 = (_acc, _n) => { diff --git a/jscomp/test/tailcall_inline_test.res b/tests/tests/src/tailcall_inline_test.res similarity index 100% rename from jscomp/test/tailcall_inline_test.res rename to tests/tests/src/tailcall_inline_test.res diff --git a/jscomp/test/template.js b/tests/tests/src/template.js similarity index 100% rename from jscomp/test/template.js rename to tests/tests/src/template.js diff --git a/jscomp/test/template.res b/tests/tests/src/template.res similarity index 100% rename from jscomp/test/template.res rename to tests/tests/src/template.res diff --git a/jscomp/test/test2.js b/tests/tests/src/test2.js similarity index 100% rename from jscomp/test/test2.js rename to tests/tests/src/test2.js diff --git a/jscomp/test/test2.res b/tests/tests/src/test2.res similarity index 100% rename from jscomp/test/test2.res rename to tests/tests/src/test2.res diff --git a/jscomp/test/test_ari.js b/tests/tests/src/test_ari.js similarity index 99% rename from jscomp/test/test_ari.js rename to tests/tests/src/test_ari.js index 3fd920ab3b..ffab6bcfd5 100644 --- a/jscomp/test/test_ari.js +++ b/tests/tests/src/test_ari.js @@ -3,7 +3,7 @@ let U = require("U"); let VV = require("VV"); -let Belt_List = require("../../lib/js/belt_List.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); function f(x, y) { return x + y | 0; diff --git a/jscomp/test/test_ari.res b/tests/tests/src/test_ari.res similarity index 100% rename from jscomp/test/test_ari.res rename to tests/tests/src/test_ari.res diff --git a/jscomp/test/test_array.js b/tests/tests/src/test_array.js similarity index 88% rename from jscomp/test/test_array.js rename to tests/tests/src/test_array.js index 11d30a3f9f..11365d16c5 100644 --- a/jscomp/test/test_array.js +++ b/tests/tests/src/test_array.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_Array = require("../../lib/js/belt_Array.js"); +let Belt_Array = require("rescript/lib/js/belt_Array.js"); let v = Belt_Array.make(6, 5); diff --git a/jscomp/test/test_array.res b/tests/tests/src/test_array.res similarity index 100% rename from jscomp/test/test_array.res rename to tests/tests/src/test_array.res diff --git a/jscomp/test/test_array_append.js b/tests/tests/src/test_array_append.js similarity index 74% rename from jscomp/test/test_array_append.js rename to tests/tests/src/test_array_append.js index 71c58810ff..cce36c59cb 100644 --- a/jscomp/test/test_array_append.js +++ b/tests/tests/src/test_array_append.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_Array = require("../../lib/js/belt_Array.js"); +let Belt_Array = require("rescript/lib/js/belt_Array.js"); let const_v = Belt_Array.concat([ 1, diff --git a/jscomp/test/test_array_append.res b/tests/tests/src/test_array_append.res similarity index 100% rename from jscomp/test/test_array_append.res rename to tests/tests/src/test_array_append.res diff --git a/jscomp/test/test_bool_equal.js b/tests/tests/src/test_bool_equal.js similarity index 100% rename from jscomp/test/test_bool_equal.js rename to tests/tests/src/test_bool_equal.js diff --git a/jscomp/test/test_bool_equal.res b/tests/tests/src/test_bool_equal.res similarity index 100% rename from jscomp/test/test_bool_equal.res rename to tests/tests/src/test_bool_equal.res diff --git a/jscomp/test/test_bs_this.js b/tests/tests/src/test_bs_this.js similarity index 100% rename from jscomp/test/test_bs_this.js rename to tests/tests/src/test_bs_this.js diff --git a/jscomp/test/test_bs_this.res b/tests/tests/src/test_bs_this.res similarity index 100% rename from jscomp/test/test_bs_this.res rename to tests/tests/src/test_bs_this.res diff --git a/jscomp/test/test_case_opt_collision.js b/tests/tests/src/test_case_opt_collision.js similarity index 100% rename from jscomp/test/test_case_opt_collision.js rename to tests/tests/src/test_case_opt_collision.js diff --git a/jscomp/test/test_case_opt_collision.res b/tests/tests/src/test_case_opt_collision.res similarity index 100% rename from jscomp/test/test_case_opt_collision.res rename to tests/tests/src/test_case_opt_collision.res diff --git a/jscomp/test/test_case_set.js b/tests/tests/src/test_case_set.js similarity index 100% rename from jscomp/test/test_case_set.js rename to tests/tests/src/test_case_set.js diff --git a/jscomp/test/test_case_set.res b/tests/tests/src/test_case_set.res similarity index 100% rename from jscomp/test/test_case_set.res rename to tests/tests/src/test_case_set.res diff --git a/jscomp/test/test_char.js b/tests/tests/src/test_char.js similarity index 100% rename from jscomp/test/test_char.js rename to tests/tests/src/test_char.js diff --git a/jscomp/test/test_char.res b/tests/tests/src/test_char.res similarity index 100% rename from jscomp/test/test_char.res rename to tests/tests/src/test_char.res diff --git a/jscomp/test/test_closure.js b/tests/tests/src/test_closure.js similarity index 81% rename from jscomp/test/test_closure.js rename to tests/tests/src/test_closure.js index d5914da135..c6ffa11d61 100644 --- a/jscomp/test/test_closure.js +++ b/tests/tests/src/test_closure.js @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_Array = require("../../lib/js/belt_Array.js"); -let Primitive_array = require("../../lib/js/primitive_array.js"); +let Belt_Array = require("rescript/lib/js/belt_Array.js"); +let Primitive_array = require("rescript/lib/js/primitive_array.js"); let v = { contents: 0 diff --git a/jscomp/test/test_closure.res b/tests/tests/src/test_closure.res similarity index 100% rename from jscomp/test/test_closure.res rename to tests/tests/src/test_closure.res diff --git a/jscomp/test/test_common.js b/tests/tests/src/test_common.js similarity index 76% rename from jscomp/test/test_common.js rename to tests/tests/src/test_common.js index 61bfae36d4..0db760e1b3 100644 --- a/jscomp/test/test_common.js +++ b/tests/tests/src/test_common.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Primitive_exceptions = require("../../lib/js/primitive_exceptions.js"); +let Primitive_exceptions = require("rescript/lib/js/primitive_exceptions.js"); let U = /* @__PURE__ */Primitive_exceptions.create("Test_common.U"); diff --git a/jscomp/test/test_common.res b/tests/tests/src/test_common.res similarity index 100% rename from jscomp/test/test_common.res rename to tests/tests/src/test_common.res diff --git a/jscomp/test/test_const_elim.js b/tests/tests/src/test_const_elim.js similarity index 100% rename from jscomp/test/test_const_elim.js rename to tests/tests/src/test_const_elim.js diff --git a/jscomp/test/test_const_elim.res b/tests/tests/src/test_const_elim.res similarity index 100% rename from jscomp/test/test_const_elim.res rename to tests/tests/src/test_const_elim.res diff --git a/jscomp/test/test_const_propogate.js b/tests/tests/src/test_const_propogate.js similarity index 100% rename from jscomp/test/test_const_propogate.js rename to tests/tests/src/test_const_propogate.js diff --git a/jscomp/test/test_const_propogate.res b/tests/tests/src/test_const_propogate.res similarity index 100% rename from jscomp/test/test_const_propogate.res rename to tests/tests/src/test_const_propogate.res diff --git a/jscomp/test/test_cpp.js b/tests/tests/src/test_cpp.js similarity index 67% rename from jscomp/test/test_cpp.js rename to tests/tests/src/test_cpp.js index 4b4e5d4d9b..58d888903f 100644 --- a/jscomp/test/test_cpp.js +++ b/tests/tests/src/test_cpp.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Primitive_int = require("../../lib/js/primitive_int.js"); +let Primitive_int = require("rescript/lib/js/primitive_int.js"); let f = Primitive_int.compare; diff --git a/jscomp/test/test_cpp.res b/tests/tests/src/test_cpp.res similarity index 100% rename from jscomp/test/test_cpp.res rename to tests/tests/src/test_cpp.res diff --git a/jscomp/test/test_cps.js b/tests/tests/src/test_cps.js similarity index 81% rename from jscomp/test/test_cps.js rename to tests/tests/src/test_cps.js index e901dd1985..8c77804976 100644 --- a/jscomp/test/test_cps.js +++ b/tests/tests/src/test_cps.js @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_Array = require("../../lib/js/belt_Array.js"); -let Primitive_array = require("../../lib/js/primitive_array.js"); +let Belt_Array = require("rescript/lib/js/belt_Array.js"); +let Primitive_array = require("rescript/lib/js/primitive_array.js"); function f(_n, _acc) { while (true) { diff --git a/jscomp/test/test_cps.res b/tests/tests/src/test_cps.res similarity index 100% rename from jscomp/test/test_cps.res rename to tests/tests/src/test_cps.res diff --git a/jscomp/test/test_demo.js b/tests/tests/src/test_demo.js similarity index 95% rename from jscomp/test/test_demo.js rename to tests/tests/src/test_demo.js index 3e473e9cc1..717a86aac5 100644 --- a/jscomp/test/test_demo.js +++ b/tests/tests/src/test_demo.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_List = require("../../lib/js/belt_List.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); function fib(x) { if (x === 2 || x === 1) { diff --git a/jscomp/test/test_demo.res b/tests/tests/src/test_demo.res similarity index 100% rename from jscomp/test/test_demo.res rename to tests/tests/src/test_demo.res diff --git a/jscomp/test/test_dup_param.js b/tests/tests/src/test_dup_param.js similarity index 100% rename from jscomp/test/test_dup_param.js rename to tests/tests/src/test_dup_param.js diff --git a/jscomp/test/test_dup_param.res b/tests/tests/src/test_dup_param.res similarity index 100% rename from jscomp/test/test_dup_param.res rename to tests/tests/src/test_dup_param.res diff --git a/jscomp/test/test_eq.js b/tests/tests/src/test_eq.js similarity index 100% rename from jscomp/test/test_eq.js rename to tests/tests/src/test_eq.js diff --git a/jscomp/test/test_eq.res b/tests/tests/src/test_eq.res similarity index 100% rename from jscomp/test/test_eq.res rename to tests/tests/src/test_eq.res diff --git a/jscomp/test/test_exception.js b/tests/tests/src/test_exception.js similarity index 92% rename from jscomp/test/test_exception.js rename to tests/tests/src/test_exception.js index 97601fab36..c07ffe18db 100644 --- a/jscomp/test/test_exception.js +++ b/tests/tests/src/test_exception.js @@ -2,7 +2,7 @@ 'use strict'; let Test_common = require("./test_common.js"); -let Primitive_exceptions = require("../../lib/js/primitive_exceptions.js"); +let Primitive_exceptions = require("rescript/lib/js/primitive_exceptions.js"); let Local = /* @__PURE__ */Primitive_exceptions.create("Test_exception.Local"); diff --git a/jscomp/test/test_exception.res b/tests/tests/src/test_exception.res similarity index 100% rename from jscomp/test/test_exception.res rename to tests/tests/src/test_exception.res diff --git a/jscomp/test/test_exception_escape.js b/tests/tests/src/test_exception_escape.js similarity index 80% rename from jscomp/test/test_exception_escape.js rename to tests/tests/src/test_exception_escape.js index 80b5b69bdb..5db5c884c2 100644 --- a/jscomp/test/test_exception_escape.js +++ b/tests/tests/src/test_exception_escape.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Primitive_exceptions = require("../../lib/js/primitive_exceptions.js"); +let Primitive_exceptions = require("rescript/lib/js/primitive_exceptions.js"); let A = /* @__PURE__ */Primitive_exceptions.create("Test_exception_escape.N.A"); diff --git a/jscomp/test/test_exception_escape.res b/tests/tests/src/test_exception_escape.res similarity index 100% rename from jscomp/test/test_exception_escape.res rename to tests/tests/src/test_exception_escape.res diff --git a/jscomp/test/test_export2.js b/tests/tests/src/test_export2.js similarity index 100% rename from jscomp/test/test_export2.js rename to tests/tests/src/test_export2.js diff --git a/jscomp/test/test_export2.res b/tests/tests/src/test_export2.res similarity index 100% rename from jscomp/test/test_export2.res rename to tests/tests/src/test_export2.res diff --git a/jscomp/test/test_external.js b/tests/tests/src/test_external.js similarity index 100% rename from jscomp/test/test_external.js rename to tests/tests/src/test_external.js diff --git a/jscomp/test/test_external.res b/tests/tests/src/test_external.res similarity index 100% rename from jscomp/test/test_external.res rename to tests/tests/src/test_external.res diff --git a/jscomp/test/test_external_unit.js b/tests/tests/src/test_external_unit.js similarity index 100% rename from jscomp/test/test_external_unit.js rename to tests/tests/src/test_external_unit.js diff --git a/jscomp/test/test_external_unit.res b/tests/tests/src/test_external_unit.res similarity index 100% rename from jscomp/test/test_external_unit.res rename to tests/tests/src/test_external_unit.res diff --git a/jscomp/test/test_ffi.js b/tests/tests/src/test_ffi.js similarity index 100% rename from jscomp/test/test_ffi.js rename to tests/tests/src/test_ffi.js diff --git a/jscomp/test/test_ffi.res b/tests/tests/src/test_ffi.res similarity index 100% rename from jscomp/test/test_ffi.res rename to tests/tests/src/test_ffi.res diff --git a/jscomp/test/test_fib.js b/tests/tests/src/test_fib.js similarity index 100% rename from jscomp/test/test_fib.js rename to tests/tests/src/test_fib.js diff --git a/jscomp/test/test_fib.res b/tests/tests/src/test_fib.res similarity index 100% rename from jscomp/test/test_fib.res rename to tests/tests/src/test_fib.res diff --git a/jscomp/test/test_for_loop.js b/tests/tests/src/test_for_loop.js similarity index 94% rename from jscomp/test/test_for_loop.js rename to tests/tests/src/test_for_loop.js index 49bd328a26..3fb0b26e40 100644 --- a/jscomp/test/test_for_loop.js +++ b/tests/tests/src/test_for_loop.js @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_Array = require("../../lib/js/belt_Array.js"); -let Primitive_array = require("../../lib/js/primitive_array.js"); +let Belt_Array = require("rescript/lib/js/belt_Array.js"); +let Primitive_array = require("rescript/lib/js/primitive_array.js"); function for_(x) { for (let i = 0, i_finish = (console.log("hi"), x.length); i <= i_finish; ++i) { diff --git a/jscomp/test/test_for_loop.res b/tests/tests/src/test_for_loop.res similarity index 100% rename from jscomp/test/test_for_loop.res rename to tests/tests/src/test_for_loop.res diff --git a/jscomp/test/test_for_map.js b/tests/tests/src/test_for_map.js similarity index 85% rename from jscomp/test/test_for_map.js rename to tests/tests/src/test_for_map.js index e2e11189ea..ac09bec214 100644 --- a/jscomp/test/test_for_map.js +++ b/tests/tests/src/test_for_map.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_MapInt = require("../../lib/js/belt_MapInt.js"); +let Belt_MapInt = require("rescript/lib/js/belt_MapInt.js"); function assertion_test() { let m; diff --git a/jscomp/test/test_for_map.res b/tests/tests/src/test_for_map.res similarity index 100% rename from jscomp/test/test_for_map.res rename to tests/tests/src/test_for_map.res diff --git a/jscomp/test/test_for_map2.js b/tests/tests/src/test_for_map2.js similarity index 85% rename from jscomp/test/test_for_map2.js rename to tests/tests/src/test_for_map2.js index 285ab94576..5a2d64a31a 100644 --- a/jscomp/test/test_for_map2.js +++ b/tests/tests/src/test_for_map2.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_MapInt = require("../../lib/js/belt_MapInt.js"); +let Belt_MapInt = require("rescript/lib/js/belt_MapInt.js"); function assertion_test() { let m; diff --git a/jscomp/test/test_for_map2.res b/tests/tests/src/test_for_map2.res similarity index 100% rename from jscomp/test/test_for_map2.res rename to tests/tests/src/test_for_map2.res diff --git a/jscomp/test/test_functor_dead_code.js b/tests/tests/src/test_functor_dead_code.js similarity index 68% rename from jscomp/test/test_functor_dead_code.js rename to tests/tests/src/test_functor_dead_code.js index ce4c3e5ee1..fe62b0e292 100644 --- a/jscomp/test/test_functor_dead_code.js +++ b/tests/tests/src/test_functor_dead_code.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_MapString = require("../../lib/js/belt_MapString.js"); +let Belt_MapString = require("rescript/lib/js/belt_MapString.js"); let v = Belt_MapString.isEmpty(undefined); diff --git a/jscomp/test/test_functor_dead_code.res b/tests/tests/src/test_functor_dead_code.res similarity index 100% rename from jscomp/test/test_functor_dead_code.res rename to tests/tests/src/test_functor_dead_code.res diff --git a/jscomp/test/test_generative_module.js b/tests/tests/src/test_generative_module.js similarity index 100% rename from jscomp/test/test_generative_module.js rename to tests/tests/src/test_generative_module.js diff --git a/jscomp/test/test_generative_module.res b/tests/tests/src/test_generative_module.res similarity index 100% rename from jscomp/test/test_generative_module.res rename to tests/tests/src/test_generative_module.res diff --git a/jscomp/test/test_google_closure.js b/tests/tests/src/test_google_closure.js similarity index 80% rename from jscomp/test/test_google_closure.js rename to tests/tests/src/test_google_closure.js index de79266090..0571cc03d4 100644 --- a/jscomp/test/test_google_closure.js +++ b/tests/tests/src/test_google_closure.js @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_Array = require("../../lib/js/belt_Array.js"); -let Primitive_array = require("../../lib/js/primitive_array.js"); +let Belt_Array = require("rescript/lib/js/belt_Array.js"); +let Primitive_array = require("rescript/lib/js/primitive_array.js"); function f(a, b, param) { return a + b | 0; diff --git a/jscomp/test/test_google_closure.res b/tests/tests/src/test_google_closure.res similarity index 100% rename from jscomp/test/test_google_closure.res rename to tests/tests/src/test_google_closure.res diff --git a/jscomp/test/test_include.js b/tests/tests/src/test_include.js similarity index 99% rename from jscomp/test/test_include.js rename to tests/tests/src/test_include.js index be35df145d..c5fb2ace59 100644 --- a/jscomp/test/test_include.js +++ b/tests/tests/src/test_include.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_List = require("../../lib/js/belt_List.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); let Test_order = require("./test_order.js"); function Make(U) { diff --git a/jscomp/test/test_include.res b/tests/tests/src/test_include.res similarity index 100% rename from jscomp/test/test_include.res rename to tests/tests/src/test_include.res diff --git a/jscomp/test/test_incomplete.js b/tests/tests/src/test_incomplete.js similarity index 100% rename from jscomp/test/test_incomplete.js rename to tests/tests/src/test_incomplete.js diff --git a/jscomp/test/test_incomplete.res b/tests/tests/src/test_incomplete.res similarity index 100% rename from jscomp/test/test_incomplete.res rename to tests/tests/src/test_incomplete.res diff --git a/jscomp/test/test_incr_ref.js b/tests/tests/src/test_incr_ref.js similarity index 100% rename from jscomp/test/test_incr_ref.js rename to tests/tests/src/test_incr_ref.js diff --git a/jscomp/test/test_incr_ref.res b/tests/tests/src/test_incr_ref.res similarity index 100% rename from jscomp/test/test_incr_ref.res rename to tests/tests/src/test_incr_ref.res diff --git a/jscomp/test/test_int_map_find.js b/tests/tests/src/test_int_map_find.js similarity index 79% rename from jscomp/test/test_int_map_find.js rename to tests/tests/src/test_int_map_find.js index d6b87b488c..f1cea788e7 100644 --- a/jscomp/test/test_int_map_find.js +++ b/tests/tests/src/test_int_map_find.js @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_List = require("../../lib/js/belt_List.js"); -let Belt_MapInt = require("../../lib/js/belt_MapInt.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); +let Belt_MapInt = require("rescript/lib/js/belt_MapInt.js"); Belt_List.reduceReverse({ hd: [ diff --git a/jscomp/test/test_int_map_find.res b/tests/tests/src/test_int_map_find.res similarity index 100% rename from jscomp/test/test_int_map_find.res rename to tests/tests/src/test_int_map_find.res diff --git a/jscomp/test/test_is_js.js b/tests/tests/src/test_is_js.js similarity index 100% rename from jscomp/test/test_is_js.js rename to tests/tests/src/test_is_js.js diff --git a/jscomp/test/test_is_js.res b/tests/tests/src/test_is_js.res similarity index 100% rename from jscomp/test/test_is_js.res rename to tests/tests/src/test_is_js.res diff --git a/jscomp/test/test_js_ffi.js b/tests/tests/src/test_js_ffi.js similarity index 100% rename from jscomp/test/test_js_ffi.js rename to tests/tests/src/test_js_ffi.js diff --git a/jscomp/test/test_js_ffi.res b/tests/tests/src/test_js_ffi.res similarity index 100% rename from jscomp/test/test_js_ffi.res rename to tests/tests/src/test_js_ffi.res diff --git a/jscomp/test/test_let.js b/tests/tests/src/test_let.js similarity index 100% rename from jscomp/test/test_let.js rename to tests/tests/src/test_let.js diff --git a/jscomp/test/test_let.res b/tests/tests/src/test_let.res similarity index 100% rename from jscomp/test/test_let.res rename to tests/tests/src/test_let.res diff --git a/jscomp/test/test_list.js b/tests/tests/src/test_list.js similarity index 99% rename from jscomp/test/test_list.js rename to tests/tests/src/test_list.js index fe3331cba8..3d027ed08f 100644 --- a/jscomp/test/test_list.js +++ b/tests/tests/src/test_list.js @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_List = require("../../lib/js/belt_List.js"); -let Pervasives = require("../../lib/js/pervasives.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); +let Pervasives = require("rescript/lib/js/pervasives.js"); function length_aux(_len, _x) { while (true) { diff --git a/jscomp/test/test_list.res b/tests/tests/src/test_list.res similarity index 100% rename from jscomp/test/test_list.res rename to tests/tests/src/test_list.res diff --git a/jscomp/test/test_literal.js b/tests/tests/src/test_literal.js similarity index 88% rename from jscomp/test/test_literal.js rename to tests/tests/src/test_literal.js index 2e5a627097..a40bb3a2ec 100644 --- a/jscomp/test/test_literal.js +++ b/tests/tests/src/test_literal.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Primitive_exceptions = require("../../lib/js/primitive_exceptions.js"); +let Primitive_exceptions = require("rescript/lib/js/primitive_exceptions.js"); let Custom_inline = /* @__PURE__ */Primitive_exceptions.create("Test_literal.Custom_inline"); diff --git a/jscomp/test/test_literal.res b/tests/tests/src/test_literal.res similarity index 100% rename from jscomp/test/test_literal.res rename to tests/tests/src/test_literal.res diff --git a/jscomp/test/test_literals.js b/tests/tests/src/test_literals.js similarity index 100% rename from jscomp/test/test_literals.js rename to tests/tests/src/test_literals.js diff --git a/jscomp/test/test_literals.res b/tests/tests/src/test_literals.res similarity index 100% rename from jscomp/test/test_literals.res rename to tests/tests/src/test_literals.res diff --git a/jscomp/test/test_match_exception.js b/tests/tests/src/test_match_exception.js similarity index 80% rename from jscomp/test/test_match_exception.js rename to tests/tests/src/test_match_exception.js index dcabf74e0b..436a3dad54 100644 --- a/jscomp/test/test_match_exception.js +++ b/tests/tests/src/test_match_exception.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Primitive_exceptions = require("../../lib/js/primitive_exceptions.js"); +let Primitive_exceptions = require("rescript/lib/js/primitive_exceptions.js"); function f(g, x) { try { diff --git a/jscomp/test/test_match_exception.res b/tests/tests/src/test_match_exception.res similarity index 100% rename from jscomp/test/test_match_exception.res rename to tests/tests/src/test_match_exception.res diff --git a/jscomp/test/test_nested_let.js b/tests/tests/src/test_nested_let.js similarity index 100% rename from jscomp/test/test_nested_let.js rename to tests/tests/src/test_nested_let.js diff --git a/jscomp/test/test_nested_let.res b/tests/tests/src/test_nested_let.res similarity index 100% rename from jscomp/test/test_nested_let.res rename to tests/tests/src/test_nested_let.res diff --git a/jscomp/test/test_nested_print.js b/tests/tests/src/test_nested_print.js similarity index 100% rename from jscomp/test/test_nested_print.js rename to tests/tests/src/test_nested_print.js diff --git a/jscomp/test/test_nested_print.res b/tests/tests/src/test_nested_print.res similarity index 100% rename from jscomp/test/test_nested_print.res rename to tests/tests/src/test_nested_print.res diff --git a/jscomp/test/test_non_export.js b/tests/tests/src/test_non_export.js similarity index 100% rename from jscomp/test/test_non_export.js rename to tests/tests/src/test_non_export.js diff --git a/jscomp/test/test_non_export.res b/tests/tests/src/test_non_export.res similarity index 100% rename from jscomp/test/test_non_export.res rename to tests/tests/src/test_non_export.res diff --git a/jscomp/test/test_nullary.js b/tests/tests/src/test_nullary.js similarity index 100% rename from jscomp/test/test_nullary.js rename to tests/tests/src/test_nullary.js diff --git a/jscomp/test/test_nullary.res b/tests/tests/src/test_nullary.res similarity index 100% rename from jscomp/test/test_nullary.res rename to tests/tests/src/test_nullary.res diff --git a/jscomp/test/test_obj.js b/tests/tests/src/test_obj.js similarity index 100% rename from jscomp/test/test_obj.js rename to tests/tests/src/test_obj.js diff --git a/jscomp/test/test_obj.res b/tests/tests/src/test_obj.res similarity index 100% rename from jscomp/test/test_obj.res rename to tests/tests/src/test_obj.res diff --git a/jscomp/test/test_order.js b/tests/tests/src/test_order.js similarity index 69% rename from jscomp/test/test_order.js rename to tests/tests/src/test_order.js index 8bd95c7637..0b6ae7e081 100644 --- a/jscomp/test/test_order.js +++ b/tests/tests/src/test_order.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Primitive_int = require("../../lib/js/primitive_int.js"); +let Primitive_int = require("rescript/lib/js/primitive_int.js"); let compare = Primitive_int.compare; diff --git a/jscomp/test/test_order.res b/tests/tests/src/test_order.res similarity index 100% rename from jscomp/test/test_order.res rename to tests/tests/src/test_order.res diff --git a/jscomp/test/test_order_tailcall.js b/tests/tests/src/test_order_tailcall.js similarity index 100% rename from jscomp/test/test_order_tailcall.js rename to tests/tests/src/test_order_tailcall.js diff --git a/jscomp/test/test_order_tailcall.res b/tests/tests/src/test_order_tailcall.res similarity index 100% rename from jscomp/test/test_order_tailcall.res rename to tests/tests/src/test_order_tailcall.res diff --git a/jscomp/test/test_other_exn.js b/tests/tests/src/test_other_exn.js similarity index 100% rename from jscomp/test/test_other_exn.js rename to tests/tests/src/test_other_exn.js diff --git a/jscomp/test/test_other_exn.res b/tests/tests/src/test_other_exn.res similarity index 100% rename from jscomp/test/test_other_exn.res rename to tests/tests/src/test_other_exn.res diff --git a/jscomp/test/test_per.js b/tests/tests/src/test_per.js similarity index 88% rename from jscomp/test/test_per.js rename to tests/tests/src/test_per.js index d9dbf52f23..d34e1b6eac 100644 --- a/jscomp/test/test_per.js +++ b/tests/tests/src/test_per.js @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Primitive_object = require("../../lib/js/primitive_object.js"); -let Primitive_exceptions = require("../../lib/js/primitive_exceptions.js"); +let Primitive_object = require("rescript/lib/js/primitive_object.js"); +let Primitive_exceptions = require("rescript/lib/js/primitive_exceptions.js"); function failwith(s) { throw { diff --git a/jscomp/test/test_per.res b/tests/tests/src/test_per.res similarity index 100% rename from jscomp/test/test_per.res rename to tests/tests/src/test_per.res diff --git a/jscomp/test/test_pervasive.js b/tests/tests/src/test_pervasive.js similarity index 98% rename from jscomp/test/test_pervasive.js rename to tests/tests/src/test_pervasive.js index 33533da172..463a6e2408 100644 --- a/jscomp/test/test_pervasive.js +++ b/tests/tests/src/test_pervasive.js @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_List = require("../../lib/js/belt_List.js"); -let Pervasives = require("../../lib/js/pervasives.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); +let Pervasives = require("rescript/lib/js/pervasives.js"); let $at = Pervasives.Pervasives.$at; diff --git a/jscomp/test/test_pervasive.res b/tests/tests/src/test_pervasive.res similarity index 100% rename from jscomp/test/test_pervasive.res rename to tests/tests/src/test_pervasive.res diff --git a/jscomp/test/test_pervasives3.js b/tests/tests/src/test_pervasives3.js similarity index 97% rename from jscomp/test/test_pervasives3.js rename to tests/tests/src/test_pervasives3.js index 27b9eb4881..8cfdbcbfb5 100644 --- a/jscomp/test/test_pervasives3.js +++ b/tests/tests/src/test_pervasives3.js @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_List = require("../../lib/js/belt_List.js"); -let Pervasives = require("../../lib/js/pervasives.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); +let Pervasives = require("rescript/lib/js/pervasives.js"); let $at = Pervasives.Pervasives.$at; diff --git a/jscomp/test/test_pervasives3.res b/tests/tests/src/test_pervasives3.res similarity index 100% rename from jscomp/test/test_pervasives3.res rename to tests/tests/src/test_pervasives3.res diff --git a/jscomp/test/test_primitive.js b/tests/tests/src/test_primitive.js similarity index 93% rename from jscomp/test/test_primitive.js rename to tests/tests/src/test_primitive.js index 6d4f8c8657..e220c6dd8c 100644 --- a/jscomp/test/test_primitive.js +++ b/tests/tests/src/test_primitive.js @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Lazy = require("../../lib/js/lazy.js"); -let Primitive_array = require("../../lib/js/primitive_array.js"); +let Lazy = require("rescript/lib/js/lazy.js"); +let Primitive_array = require("rescript/lib/js/primitive_array.js"); function a4(prim) { return [ diff --git a/jscomp/test/test_primitive.res b/tests/tests/src/test_primitive.res similarity index 100% rename from jscomp/test/test_primitive.res rename to tests/tests/src/test_primitive.res diff --git a/jscomp/test/test_ramification.js b/tests/tests/src/test_ramification.js similarity index 100% rename from jscomp/test/test_ramification.js rename to tests/tests/src/test_ramification.js diff --git a/jscomp/test/test_ramification.res b/tests/tests/src/test_ramification.res similarity index 100% rename from jscomp/test/test_ramification.res rename to tests/tests/src/test_ramification.res diff --git a/jscomp/test/test_react.js b/tests/tests/src/test_react.js similarity index 100% rename from jscomp/test/test_react.js rename to tests/tests/src/test_react.js diff --git a/jscomp/test/test_react.res b/tests/tests/src/test_react.res similarity index 100% rename from jscomp/test/test_react.res rename to tests/tests/src/test_react.res diff --git a/jscomp/test/test_react_case.js b/tests/tests/src/test_react_case.js similarity index 100% rename from jscomp/test/test_react_case.js rename to tests/tests/src/test_react_case.js diff --git a/jscomp/test/test_react_case.res b/tests/tests/src/test_react_case.res similarity index 100% rename from jscomp/test/test_react_case.res rename to tests/tests/src/test_react_case.res diff --git a/jscomp/test/test_regex.js b/tests/tests/src/test_regex.js similarity index 100% rename from jscomp/test/test_regex.js rename to tests/tests/src/test_regex.js diff --git a/jscomp/test/test_regex.res b/tests/tests/src/test_regex.res similarity index 100% rename from jscomp/test/test_regex.res rename to tests/tests/src/test_regex.res diff --git a/jscomp/test/test_runtime_encoding.js b/tests/tests/src/test_runtime_encoding.js similarity index 90% rename from jscomp/test/test_runtime_encoding.js rename to tests/tests/src/test_runtime_encoding.js index e2efc9814f..1c9e4e71c4 100644 --- a/jscomp/test/test_runtime_encoding.js +++ b/tests/tests/src/test_runtime_encoding.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Primitive_array = require("../../lib/js/primitive_array.js"); +let Primitive_array = require("rescript/lib/js/primitive_array.js"); function g(x) { return [ diff --git a/jscomp/test/test_runtime_encoding.res b/tests/tests/src/test_runtime_encoding.res similarity index 100% rename from jscomp/test/test_runtime_encoding.res rename to tests/tests/src/test_runtime_encoding.res diff --git a/jscomp/test/test_scope.js b/tests/tests/src/test_scope.js similarity index 100% rename from jscomp/test/test_scope.js rename to tests/tests/src/test_scope.js diff --git a/jscomp/test/test_scope.res b/tests/tests/src/test_scope.res similarity index 100% rename from jscomp/test/test_scope.res rename to tests/tests/src/test_scope.res diff --git a/jscomp/test/test_seq.js b/tests/tests/src/test_seq.js similarity index 90% rename from jscomp/test/test_seq.js rename to tests/tests/src/test_seq.js index 711fc1a601..54f7590b36 100644 --- a/jscomp/test/test_seq.js +++ b/tests/tests/src/test_seq.js @@ -1,9 +1,9 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Pervasives = require("../../lib/js/pervasives.js"); -let Primitive_object = require("../../lib/js/primitive_object.js"); -let Primitive_exceptions = require("../../lib/js/primitive_exceptions.js"); +let Pervasives = require("rescript/lib/js/pervasives.js"); +let Primitive_object = require("rescript/lib/js/primitive_object.js"); +let Primitive_exceptions = require("rescript/lib/js/primitive_exceptions.js"); let Bad = /* @__PURE__ */Primitive_exceptions.create("Test_seq.Bad"); diff --git a/jscomp/test/test_seq.res b/tests/tests/src/test_seq.res similarity index 100% rename from jscomp/test/test_seq.res rename to tests/tests/src/test_seq.res diff --git a/jscomp/test/test_set.js b/tests/tests/src/test_set.js similarity index 99% rename from jscomp/test/test_set.js rename to tests/tests/src/test_set.js index d4a639a61f..fbfe093bc8 100644 --- a/jscomp/test/test_set.js +++ b/tests/tests/src/test_set.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_List = require("../../lib/js/belt_List.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); function Make(Ord) { let height = x => { diff --git a/jscomp/test/test_set.res b/tests/tests/src/test_set.res similarity index 100% rename from jscomp/test/test_set.res rename to tests/tests/src/test_set.res diff --git a/jscomp/test/test_side_effect_functor.js b/tests/tests/src/test_side_effect_functor.js similarity index 100% rename from jscomp/test/test_side_effect_functor.js rename to tests/tests/src/test_side_effect_functor.js diff --git a/jscomp/test/test_side_effect_functor.res b/tests/tests/src/test_side_effect_functor.res similarity index 100% rename from jscomp/test/test_side_effect_functor.res rename to tests/tests/src/test_side_effect_functor.res diff --git a/jscomp/test/test_simple_include.js b/tests/tests/src/test_simple_include.js similarity index 98% rename from jscomp/test/test_simple_include.js rename to tests/tests/src/test_simple_include.js index 2d55cc0b51..68aa115141 100644 --- a/jscomp/test/test_simple_include.js +++ b/tests/tests/src/test_simple_include.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_Array = require("../../lib/js/belt_Array.js"); +let Belt_Array = require("rescript/lib/js/belt_Array.js"); let v = { contents: 32 diff --git a/jscomp/test/test_simple_include.res b/tests/tests/src/test_simple_include.res similarity index 100% rename from jscomp/test/test_simple_include.res rename to tests/tests/src/test_simple_include.res diff --git a/jscomp/test/test_simple_pattern_match.js b/tests/tests/src/test_simple_pattern_match.js similarity index 100% rename from jscomp/test/test_simple_pattern_match.js rename to tests/tests/src/test_simple_pattern_match.js diff --git a/jscomp/test/test_simple_pattern_match.res b/tests/tests/src/test_simple_pattern_match.res similarity index 100% rename from jscomp/test/test_simple_pattern_match.res rename to tests/tests/src/test_simple_pattern_match.res diff --git a/jscomp/test/test_simple_ref.js b/tests/tests/src/test_simple_ref.js similarity index 100% rename from jscomp/test/test_simple_ref.js rename to tests/tests/src/test_simple_ref.js diff --git a/jscomp/test/test_simple_ref.res b/tests/tests/src/test_simple_ref.res similarity index 100% rename from jscomp/test/test_simple_ref.res rename to tests/tests/src/test_simple_ref.res diff --git a/jscomp/test/test_simple_tailcall.js b/tests/tests/src/test_simple_tailcall.js similarity index 100% rename from jscomp/test/test_simple_tailcall.js rename to tests/tests/src/test_simple_tailcall.js diff --git a/jscomp/test/test_simple_tailcall.res b/tests/tests/src/test_simple_tailcall.res similarity index 100% rename from jscomp/test/test_simple_tailcall.res rename to tests/tests/src/test_simple_tailcall.res diff --git a/jscomp/test/test_small.js b/tests/tests/src/test_small.js similarity index 100% rename from jscomp/test/test_small.js rename to tests/tests/src/test_small.js diff --git a/jscomp/test/test_small.res b/tests/tests/src/test_small.res similarity index 100% rename from jscomp/test/test_small.res rename to tests/tests/src/test_small.res diff --git a/jscomp/test/test_static_catch_ident.js b/tests/tests/src/test_static_catch_ident.js similarity index 86% rename from jscomp/test/test_static_catch_ident.js rename to tests/tests/src/test_static_catch_ident.js index ae2fa5d87e..0d6fd543a7 100644 --- a/jscomp/test/test_static_catch_ident.js +++ b/tests/tests/src/test_static_catch_ident.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Primitive_exceptions = require("../../lib/js/primitive_exceptions.js"); +let Primitive_exceptions = require("rescript/lib/js/primitive_exceptions.js"); let Scan_failure = /* @__PURE__ */Primitive_exceptions.create("Test_static_catch_ident.Scan_failure"); diff --git a/jscomp/test/test_static_catch_ident.res b/tests/tests/src/test_static_catch_ident.res similarity index 100% rename from jscomp/test/test_static_catch_ident.res rename to tests/tests/src/test_static_catch_ident.res diff --git a/jscomp/test/test_string.js b/tests/tests/src/test_string.js similarity index 100% rename from jscomp/test/test_string.js rename to tests/tests/src/test_string.js diff --git a/jscomp/test/test_string.res b/tests/tests/src/test_string.res similarity index 100% rename from jscomp/test/test_string.res rename to tests/tests/src/test_string.res diff --git a/jscomp/test/test_string_case.js b/tests/tests/src/test_string_case.js similarity index 100% rename from jscomp/test/test_string_case.js rename to tests/tests/src/test_string_case.js diff --git a/jscomp/test/test_string_case.res b/tests/tests/src/test_string_case.res similarity index 100% rename from jscomp/test/test_string_case.res rename to tests/tests/src/test_string_case.res diff --git a/jscomp/test/test_string_const.js b/tests/tests/src/test_string_const.js similarity index 83% rename from jscomp/test/test_string_const.js rename to tests/tests/src/test_string_const.js index 8af8e40e87..622622ca8a 100644 --- a/jscomp/test/test_string_const.js +++ b/tests/tests/src/test_string_const.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Primitive_exceptions = require("../../lib/js/primitive_exceptions.js"); +let Primitive_exceptions = require("rescript/lib/js/primitive_exceptions.js"); let f = "ghsogh".codePointAt(3); diff --git a/jscomp/test/test_string_const.res b/tests/tests/src/test_string_const.res similarity index 100% rename from jscomp/test/test_string_const.res rename to tests/tests/src/test_string_const.res diff --git a/jscomp/test/test_string_map.js b/tests/tests/src/test_string_map.js similarity index 89% rename from jscomp/test/test_string_map.js rename to tests/tests/src/test_string_map.js index 4c5940c39e..08546fc7ae 100644 --- a/jscomp/test/test_string_map.js +++ b/tests/tests/src/test_string_map.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_MapString = require("../../lib/js/belt_MapString.js"); +let Belt_MapString = require("rescript/lib/js/belt_MapString.js"); function timing(label, f) { console.time(label); diff --git a/jscomp/test/test_string_map.res b/tests/tests/src/test_string_map.res similarity index 100% rename from jscomp/test/test_string_map.res rename to tests/tests/src/test_string_map.res diff --git a/jscomp/test/test_string_switch.js b/tests/tests/src/test_string_switch.js similarity index 100% rename from jscomp/test/test_string_switch.js rename to tests/tests/src/test_string_switch.js diff --git a/jscomp/test/test_string_switch.res b/tests/tests/src/test_string_switch.res similarity index 100% rename from jscomp/test/test_string_switch.res rename to tests/tests/src/test_string_switch.res diff --git a/jscomp/test/test_switch.js b/tests/tests/src/test_switch.js similarity index 100% rename from jscomp/test/test_switch.js rename to tests/tests/src/test_switch.js diff --git a/jscomp/test/test_switch.res b/tests/tests/src/test_switch.res similarity index 100% rename from jscomp/test/test_switch.res rename to tests/tests/src/test_switch.res diff --git a/jscomp/test/test_trywith.js b/tests/tests/src/test_trywith.js similarity index 97% rename from jscomp/test/test_trywith.js rename to tests/tests/src/test_trywith.js index 5852f1689b..2f16470a36 100644 --- a/jscomp/test/test_trywith.js +++ b/tests/tests/src/test_trywith.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Primitive_exceptions = require("../../lib/js/primitive_exceptions.js"); +let Primitive_exceptions = require("rescript/lib/js/primitive_exceptions.js"); let Out_of_memory = /* @__PURE__ */Primitive_exceptions.create("Test_trywith.Out_of_memory"); diff --git a/jscomp/test/test_trywith.res b/tests/tests/src/test_trywith.res similarity index 100% rename from jscomp/test/test_trywith.res rename to tests/tests/src/test_trywith.res diff --git a/jscomp/test/test_tuple.js b/tests/tests/src/test_tuple.js similarity index 100% rename from jscomp/test/test_tuple.js rename to tests/tests/src/test_tuple.js diff --git a/jscomp/test/test_tuple.res b/tests/tests/src/test_tuple.res similarity index 100% rename from jscomp/test/test_tuple.res rename to tests/tests/src/test_tuple.res diff --git a/jscomp/test/test_tuple_destructring.js b/tests/tests/src/test_tuple_destructring.js similarity index 100% rename from jscomp/test/test_tuple_destructring.js rename to tests/tests/src/test_tuple_destructring.js diff --git a/jscomp/test/test_tuple_destructring.res b/tests/tests/src/test_tuple_destructring.res similarity index 100% rename from jscomp/test/test_tuple_destructring.res rename to tests/tests/src/test_tuple_destructring.res diff --git a/jscomp/test/test_type_based_arity.js b/tests/tests/src/test_type_based_arity.js similarity index 100% rename from jscomp/test/test_type_based_arity.js rename to tests/tests/src/test_type_based_arity.js diff --git a/jscomp/test/test_type_based_arity.res b/tests/tests/src/test_type_based_arity.res similarity index 100% rename from jscomp/test/test_type_based_arity.res rename to tests/tests/src/test_type_based_arity.res diff --git a/jscomp/test/test_u.js b/tests/tests/src/test_u.js similarity index 100% rename from jscomp/test/test_u.js rename to tests/tests/src/test_u.js diff --git a/jscomp/test/test_u.res b/tests/tests/src/test_u.res similarity index 100% rename from jscomp/test/test_u.res rename to tests/tests/src/test_u.res diff --git a/jscomp/test/test_unknown.js b/tests/tests/src/test_unknown.js similarity index 80% rename from jscomp/test/test_unknown.js rename to tests/tests/src/test_unknown.js index 5e00b25396..aa81ba7b49 100644 --- a/jscomp/test/test_unknown.js +++ b/tests/tests/src/test_unknown.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Primitive_option = require("../../lib/js/primitive_option.js"); +let Primitive_option = require("rescript/lib/js/primitive_option.js"); function some(x) { return Primitive_option.some(x); diff --git a/jscomp/test/test_unknown.res b/tests/tests/src/test_unknown.res similarity index 100% rename from jscomp/test/test_unknown.res rename to tests/tests/src/test_unknown.res diff --git a/jscomp/test/test_unsafe_cmp.js b/tests/tests/src/test_unsafe_cmp.js similarity index 100% rename from jscomp/test/test_unsafe_cmp.js rename to tests/tests/src/test_unsafe_cmp.js diff --git a/jscomp/test/test_unsafe_cmp.res b/tests/tests/src/test_unsafe_cmp.res similarity index 100% rename from jscomp/test/test_unsafe_cmp.res rename to tests/tests/src/test_unsafe_cmp.res diff --git a/jscomp/test/test_unsafe_obj_ffi.js b/tests/tests/src/test_unsafe_obj_ffi.js similarity index 100% rename from jscomp/test/test_unsafe_obj_ffi.js rename to tests/tests/src/test_unsafe_obj_ffi.js diff --git a/jscomp/test/test_unsafe_obj_ffi.res b/tests/tests/src/test_unsafe_obj_ffi.res similarity index 100% rename from jscomp/test/test_unsafe_obj_ffi.res rename to tests/tests/src/test_unsafe_obj_ffi.res diff --git a/jscomp/test/test_unsafe_obj_ffi.resi b/tests/tests/src/test_unsafe_obj_ffi.resi similarity index 100% rename from jscomp/test/test_unsafe_obj_ffi.resi rename to tests/tests/src/test_unsafe_obj_ffi.resi diff --git a/jscomp/test/test_unsafe_obj_ffi_ppx.js b/tests/tests/src/test_unsafe_obj_ffi_ppx.js similarity index 100% rename from jscomp/test/test_unsafe_obj_ffi_ppx.js rename to tests/tests/src/test_unsafe_obj_ffi_ppx.js diff --git a/jscomp/test/test_unsafe_obj_ffi_ppx.res b/tests/tests/src/test_unsafe_obj_ffi_ppx.res similarity index 100% rename from jscomp/test/test_unsafe_obj_ffi_ppx.res rename to tests/tests/src/test_unsafe_obj_ffi_ppx.res diff --git a/jscomp/test/test_unsafe_obj_ffi_ppx.resi b/tests/tests/src/test_unsafe_obj_ffi_ppx.resi similarity index 100% rename from jscomp/test/test_unsafe_obj_ffi_ppx.resi rename to tests/tests/src/test_unsafe_obj_ffi_ppx.resi diff --git a/jscomp/test/test_while_closure.js b/tests/tests/src/test_while_closure.js similarity index 84% rename from jscomp/test/test_while_closure.js rename to tests/tests/src/test_while_closure.js index ab93ac201e..5420f4bafc 100644 --- a/jscomp/test/test_while_closure.js +++ b/tests/tests/src/test_while_closure.js @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_Array = require("../../lib/js/belt_Array.js"); -let Primitive_array = require("../../lib/js/primitive_array.js"); +let Belt_Array = require("rescript/lib/js/belt_Array.js"); +let Primitive_array = require("rescript/lib/js/primitive_array.js"); let v = { contents: 0 diff --git a/jscomp/test/test_while_closure.res b/tests/tests/src/test_while_closure.res similarity index 100% rename from jscomp/test/test_while_closure.res rename to tests/tests/src/test_while_closure.res diff --git a/jscomp/test/test_while_side_effect.js b/tests/tests/src/test_while_side_effect.js similarity index 100% rename from jscomp/test/test_while_side_effect.js rename to tests/tests/src/test_while_side_effect.js diff --git a/jscomp/test/test_while_side_effect.res b/tests/tests/src/test_while_side_effect.res similarity index 100% rename from jscomp/test/test_while_side_effect.res rename to tests/tests/src/test_while_side_effect.res diff --git a/jscomp/test/test_zero_nullable.js b/tests/tests/src/test_zero_nullable.js similarity index 98% rename from jscomp/test/test_zero_nullable.js rename to tests/tests/src/test_zero_nullable.js index 4d085e25fc..c3dc2d8981 100644 --- a/jscomp/test/test_zero_nullable.js +++ b/tests/tests/src/test_zero_nullable.js @@ -2,7 +2,7 @@ 'use strict'; let Mt = require("./mt.js"); -let Primitive_option = require("../../lib/js/primitive_option.js"); +let Primitive_option = require("rescript/lib/js/primitive_option.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/test_zero_nullable.res b/tests/tests/src/test_zero_nullable.res similarity index 100% rename from jscomp/test/test_zero_nullable.res rename to tests/tests/src/test_zero_nullable.res diff --git a/jscomp/test/then_mangle_test.js b/tests/tests/src/then_mangle_test.js similarity index 100% rename from jscomp/test/then_mangle_test.js rename to tests/tests/src/then_mangle_test.js diff --git a/jscomp/test/then_mangle_test.res b/tests/tests/src/then_mangle_test.res similarity index 100% rename from jscomp/test/then_mangle_test.res rename to tests/tests/src/then_mangle_test.res diff --git a/jscomp/test/ticker.js b/tests/tests/src/ticker.js similarity index 96% rename from jscomp/test/ticker.js rename to tests/tests/src/ticker.js index d641bd46aa..d073ec425a 100644 --- a/jscomp/test/ticker.js +++ b/tests/tests/src/ticker.js @@ -1,13 +1,13 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_List = require("../../lib/js/belt_List.js"); -let Belt_Float = require("../../lib/js/belt_Float.js"); -let Pervasives = require("../../lib/js/pervasives.js"); -let Belt_Option = require("../../lib/js/belt_Option.js"); -let Primitive_int = require("../../lib/js/primitive_int.js"); -let Belt_MapString = require("../../lib/js/belt_MapString.js"); -let Primitive_option = require("../../lib/js/primitive_option.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); +let Belt_Float = require("rescript/lib/js/belt_Float.js"); +let Pervasives = require("rescript/lib/js/pervasives.js"); +let Belt_Option = require("rescript/lib/js/belt_Option.js"); +let Primitive_int = require("rescript/lib/js/primitive_int.js"); +let Belt_MapString = require("rescript/lib/js/belt_MapString.js"); +let Primitive_option = require("rescript/lib/js/primitive_option.js"); function split(delim, s) { let len = s.length; diff --git a/jscomp/test/ticker.res b/tests/tests/src/ticker.res similarity index 100% rename from jscomp/test/ticker.res rename to tests/tests/src/ticker.res diff --git a/jscomp/test/to_string_test.js b/tests/tests/src/to_string_test.js similarity index 91% rename from jscomp/test/to_string_test.js rename to tests/tests/src/to_string_test.js index 7108306618..937579d1af 100644 --- a/jscomp/test/to_string_test.js +++ b/tests/tests/src/to_string_test.js @@ -2,7 +2,7 @@ 'use strict'; let Mt = require("./mt.js"); -let Pervasives = require("../../lib/js/pervasives.js"); +let Pervasives = require("rescript/lib/js/pervasives.js"); function ff(v) { return v.toString(); diff --git a/jscomp/test/to_string_test.res b/tests/tests/src/to_string_test.res similarity index 100% rename from jscomp/test/to_string_test.res rename to tests/tests/src/to_string_test.res diff --git a/jscomp/test/topsort_test.js b/tests/tests/src/topsort_test.js similarity index 96% rename from jscomp/test/topsort_test.js rename to tests/tests/src/topsort_test.js index 569d103a25..2b432aa28a 100644 --- a/jscomp/test/topsort_test.js +++ b/tests/tests/src/topsort_test.js @@ -1,11 +1,11 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_List = require("../../lib/js/belt_List.js"); -let Pervasives = require("../../lib/js/pervasives.js"); -let Belt_SetString = require("../../lib/js/belt_SetString.js"); -let Primitive_object = require("../../lib/js/primitive_object.js"); -let Primitive_exceptions = require("../../lib/js/primitive_exceptions.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); +let Pervasives = require("rescript/lib/js/pervasives.js"); +let Belt_SetString = require("rescript/lib/js/belt_SetString.js"); +let Primitive_object = require("rescript/lib/js/primitive_object.js"); +let Primitive_exceptions = require("rescript/lib/js/primitive_exceptions.js"); let graph = { hd: [ diff --git a/jscomp/test/topsort_test.res b/tests/tests/src/topsort_test.res similarity index 100% rename from jscomp/test/topsort_test.res rename to tests/tests/src/topsort_test.res diff --git a/jscomp/test/tramp_fib.js b/tests/tests/src/tramp_fib.js similarity index 100% rename from jscomp/test/tramp_fib.js rename to tests/tests/src/tramp_fib.js diff --git a/jscomp/test/tramp_fib.res b/tests/tests/src/tramp_fib.res similarity index 100% rename from jscomp/test/tramp_fib.res rename to tests/tests/src/tramp_fib.res diff --git a/jscomp/test/tuple_alloc.js b/tests/tests/src/tuple_alloc.js similarity index 100% rename from jscomp/test/tuple_alloc.js rename to tests/tests/src/tuple_alloc.js diff --git a/jscomp/test/tuple_alloc.res b/tests/tests/src/tuple_alloc.res similarity index 100% rename from jscomp/test/tuple_alloc.res rename to tests/tests/src/tuple_alloc.res diff --git a/jscomp/test/type-coercion-free.js b/tests/tests/src/type_coercion_free_vars.js similarity index 100% rename from jscomp/test/type-coercion-free.js rename to tests/tests/src/type_coercion_free_vars.js diff --git a/jscomp/test/type-coercion-free-vars.res b/tests/tests/src/type_coercion_free_vars.res similarity index 100% rename from jscomp/test/type-coercion-free-vars.res rename to tests/tests/src/type_coercion_free_vars.res diff --git a/jscomp/test/type_disambiguate.js b/tests/tests/src/type_disambiguate.js similarity index 100% rename from jscomp/test/type_disambiguate.js rename to tests/tests/src/type_disambiguate.js diff --git a/jscomp/test/type_disambiguate.res b/tests/tests/src/type_disambiguate.res similarity index 100% rename from jscomp/test/type_disambiguate.res rename to tests/tests/src/type_disambiguate.res diff --git a/jscomp/test/typeof_test.js b/tests/tests/src/typeof_test.js similarity index 98% rename from jscomp/test/typeof_test.js rename to tests/tests/src/typeof_test.js index 3fd9ae2998..66f3fbc2ec 100644 --- a/jscomp/test/typeof_test.js +++ b/tests/tests/src/typeof_test.js @@ -2,7 +2,7 @@ 'use strict'; let Mt = require("./mt.js"); -let Js_types = require("../../lib/js/js_types.js"); +let Js_types = require("rescript/lib/js/js_types.js"); function string_or_number(x) { let ty = Js_types.classify(x); diff --git a/jscomp/test/typeof_test.res b/tests/tests/src/typeof_test.res similarity index 100% rename from jscomp/test/typeof_test.res rename to tests/tests/src/typeof_test.res diff --git a/jscomp/test/unboxed_attribute.js b/tests/tests/src/unboxed_attribute.js similarity index 100% rename from jscomp/test/unboxed_attribute.js rename to tests/tests/src/unboxed_attribute.js diff --git a/jscomp/test/unboxed_attribute.res b/tests/tests/src/unboxed_attribute.res similarity index 100% rename from jscomp/test/unboxed_attribute.res rename to tests/tests/src/unboxed_attribute.res diff --git a/jscomp/test/unboxed_attribute_test.js b/tests/tests/src/unboxed_attribute_test.js similarity index 100% rename from jscomp/test/unboxed_attribute_test.js rename to tests/tests/src/unboxed_attribute_test.js diff --git a/jscomp/test/unboxed_attribute_test.res b/tests/tests/src/unboxed_attribute_test.res similarity index 100% rename from jscomp/test/unboxed_attribute_test.res rename to tests/tests/src/unboxed_attribute_test.res diff --git a/jscomp/test/unboxed_crash.js b/tests/tests/src/unboxed_crash.js similarity index 100% rename from jscomp/test/unboxed_crash.js rename to tests/tests/src/unboxed_crash.js diff --git a/jscomp/test/unboxed_crash.res b/tests/tests/src/unboxed_crash.res similarity index 100% rename from jscomp/test/unboxed_crash.res rename to tests/tests/src/unboxed_crash.res diff --git a/jscomp/test/unboxed_use_case.js b/tests/tests/src/unboxed_use_case.js similarity index 86% rename from jscomp/test/unboxed_use_case.js rename to tests/tests/src/unboxed_use_case.js index 87e4d4f635..642f0d0134 100644 --- a/jscomp/test/unboxed_use_case.js +++ b/tests/tests/src/unboxed_use_case.js @@ -1,7 +1,7 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Primitive_object = require("../../lib/js/primitive_object.js"); +let Primitive_object = require("rescript/lib/js/primitive_object.js"); function map_pair(r, param) { return [ diff --git a/jscomp/test/unboxed_use_case.res b/tests/tests/src/unboxed_use_case.res similarity index 100% rename from jscomp/test/unboxed_use_case.res rename to tests/tests/src/unboxed_use_case.res diff --git a/jscomp/test/unboxed_use_case.resi b/tests/tests/src/unboxed_use_case.resi similarity index 100% rename from jscomp/test/unboxed_use_case.resi rename to tests/tests/src/unboxed_use_case.resi diff --git a/jscomp/test/uncurried_cast.js b/tests/tests/src/uncurried_cast.js similarity index 92% rename from jscomp/test/uncurried_cast.js rename to tests/tests/src/uncurried_cast.js index c861ee130b..8f94c3b752 100644 --- a/jscomp/test/uncurried_cast.js +++ b/tests/tests/src/uncurried_cast.js @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Belt_List = require("../../lib/js/belt_List.js"); -let Primitive_exceptions = require("../../lib/js/primitive_exceptions.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); +let Primitive_exceptions = require("rescript/lib/js/primitive_exceptions.js"); function raise(e) { throw e; diff --git a/jscomp/test/uncurried_cast.res b/tests/tests/src/uncurried_cast.res similarity index 100% rename from jscomp/test/uncurried_cast.res rename to tests/tests/src/uncurried_cast.res diff --git a/jscomp/test/uncurried_default.args.js b/tests/tests/src/uncurried_default.args.js similarity index 100% rename from jscomp/test/uncurried_default.args.js rename to tests/tests/src/uncurried_default.args.js diff --git a/jscomp/test/uncurried_default.args.res b/tests/tests/src/uncurried_default.args.res similarity index 100% rename from jscomp/test/uncurried_default.args.res rename to tests/tests/src/uncurried_default.args.res diff --git a/jscomp/test/uncurried_pipe.js b/tests/tests/src/uncurried_pipe.js similarity index 100% rename from jscomp/test/uncurried_pipe.js rename to tests/tests/src/uncurried_pipe.js diff --git a/jscomp/test/uncurried_pipe.res b/tests/tests/src/uncurried_pipe.res similarity index 100% rename from jscomp/test/uncurried_pipe.res rename to tests/tests/src/uncurried_pipe.res diff --git a/jscomp/test/uncurry_external_test.js b/tests/tests/src/uncurry_external_test.js similarity index 100% rename from jscomp/test/uncurry_external_test.js rename to tests/tests/src/uncurry_external_test.js diff --git a/jscomp/test/uncurry_external_test.res b/tests/tests/src/uncurry_external_test.res similarity index 100% rename from jscomp/test/uncurry_external_test.res rename to tests/tests/src/uncurry_external_test.res diff --git a/jscomp/test/uncurry_glob_test.js b/tests/tests/src/uncurry_glob_test.js similarity index 100% rename from jscomp/test/uncurry_glob_test.js rename to tests/tests/src/uncurry_glob_test.js diff --git a/jscomp/test/uncurry_glob_test.res b/tests/tests/src/uncurry_glob_test.res similarity index 100% rename from jscomp/test/uncurry_glob_test.res rename to tests/tests/src/uncurry_glob_test.res diff --git a/jscomp/test/uncurry_test.js b/tests/tests/src/uncurry_test.js similarity index 100% rename from jscomp/test/uncurry_test.js rename to tests/tests/src/uncurry_test.js diff --git a/jscomp/test/uncurry_test.res b/tests/tests/src/uncurry_test.res similarity index 100% rename from jscomp/test/uncurry_test.res rename to tests/tests/src/uncurry_test.res diff --git a/jscomp/test/uncurry_test.resi b/tests/tests/src/uncurry_test.resi similarity index 100% rename from jscomp/test/uncurry_test.resi rename to tests/tests/src/uncurry_test.resi diff --git a/jscomp/test/undef_regression_test.js b/tests/tests/src/undef_regression_test.js similarity index 100% rename from jscomp/test/undef_regression_test.js rename to tests/tests/src/undef_regression_test.js diff --git a/jscomp/test/undef_regression_test.res b/tests/tests/src/undef_regression_test.res similarity index 100% rename from jscomp/test/undef_regression_test.res rename to tests/tests/src/undef_regression_test.res diff --git a/jscomp/test/unit_undefined_test.js b/tests/tests/src/unit_undefined_test.js similarity index 95% rename from jscomp/test/unit_undefined_test.js rename to tests/tests/src/unit_undefined_test.js index a0d8fa8e78..3543d67fb3 100644 --- a/jscomp/test/unit_undefined_test.js +++ b/tests/tests/src/unit_undefined_test.js @@ -2,7 +2,7 @@ 'use strict'; let Mt = require("./mt.js"); -let Primitive_option = require("../../lib/js/primitive_option.js"); +let Primitive_option = require("rescript/lib/js/primitive_option.js"); let suites = { contents: /* [] */0 diff --git a/jscomp/test/unit_undefined_test.res b/tests/tests/src/unit_undefined_test.res similarity index 100% rename from jscomp/test/unit_undefined_test.res rename to tests/tests/src/unit_undefined_test.res diff --git a/jscomp/test/unsafe_full_apply_primitive.js b/tests/tests/src/unsafe_full_apply_primitive.js similarity index 100% rename from jscomp/test/unsafe_full_apply_primitive.js rename to tests/tests/src/unsafe_full_apply_primitive.js diff --git a/jscomp/test/unsafe_full_apply_primitive.res b/tests/tests/src/unsafe_full_apply_primitive.res similarity index 100% rename from jscomp/test/unsafe_full_apply_primitive.res rename to tests/tests/src/unsafe_full_apply_primitive.res diff --git a/jscomp/test/unsafe_ppx_test.js b/tests/tests/src/unsafe_ppx_test.js similarity index 96% rename from jscomp/test/unsafe_ppx_test.js rename to tests/tests/src/unsafe_ppx_test.js index df95ed722f..2560f8b456 100644 --- a/jscomp/test/unsafe_ppx_test.js +++ b/tests/tests/src/unsafe_ppx_test.js @@ -2,7 +2,7 @@ 'use strict'; let Mt = require("./mt.js"); -let Pervasives = require("../../lib/js/pervasives.js"); +let Pervasives = require("rescript/lib/js/pervasives.js"); let Ffi_js_test = require("./ffi_js_test.js"); let x = "\\x01\\x02\\x03"; diff --git a/jscomp/test/unsafe_ppx_test.res b/tests/tests/src/unsafe_ppx_test.res similarity index 100% rename from jscomp/test/unsafe_ppx_test.res rename to tests/tests/src/unsafe_ppx_test.res diff --git a/jscomp/test/update_record_test.js b/tests/tests/src/update_record_test.js similarity index 100% rename from jscomp/test/update_record_test.js rename to tests/tests/src/update_record_test.js diff --git a/jscomp/test/update_record_test.res b/tests/tests/src/update_record_test.res similarity index 100% rename from jscomp/test/update_record_test.res rename to tests/tests/src/update_record_test.res diff --git a/jscomp/test/variant.js b/tests/tests/src/variant.js similarity index 94% rename from jscomp/test/variant.js rename to tests/tests/src/variant.js index df45870a93..3e4b76e6eb 100644 --- a/jscomp/test/variant.js +++ b/tests/tests/src/variant.js @@ -1,8 +1,8 @@ // Generated by ReScript, PLEASE EDIT WITH CARE 'use strict'; -let Primitive_object = require("../../lib/js/primitive_object.js"); -let Primitive_exceptions = require("../../lib/js/primitive_exceptions.js"); +let Primitive_object = require("rescript/lib/js/primitive_object.js"); +let Primitive_exceptions = require("rescript/lib/js/primitive_exceptions.js"); function foo(x) { if (typeof x !== "object") { diff --git a/jscomp/test/variant.res b/tests/tests/src/variant.res similarity index 100% rename from jscomp/test/variant.res rename to tests/tests/src/variant.res diff --git a/jscomp/test/variantsMatching.gen.tsx b/tests/tests/src/variantsMatching.gen.tsx similarity index 100% rename from jscomp/test/variantsMatching.gen.tsx rename to tests/tests/src/variantsMatching.gen.tsx diff --git a/jscomp/test/variantsMatching.js b/tests/tests/src/variantsMatching.js similarity index 100% rename from jscomp/test/variantsMatching.js rename to tests/tests/src/variantsMatching.js diff --git a/jscomp/test/variantsMatching.res b/tests/tests/src/variantsMatching.res similarity index 100% rename from jscomp/test/variantsMatching.res rename to tests/tests/src/variantsMatching.res diff --git a/jscomp/test/webpack_config.js b/tests/tests/src/webpack_config.js similarity index 95% rename from jscomp/test/webpack_config.js rename to tests/tests/src/webpack_config.js index 08fe58defc..8e81562799 100644 --- a/jscomp/test/webpack_config.js +++ b/tests/tests/src/webpack_config.js @@ -5,7 +5,7 @@ let List = require("List"); let List$1 = require("reactV"); let List$2 = require("reactX"); let Local = require("./local"); -let Belt_List = require("../../lib/js/belt_List.js"); +let Belt_List = require("rescript/lib/js/belt_List.js"); let WebpackConfigJs = require("../../../webpack.config.js"); let WebpackMiddlewareConfigJs = require("../../../webpack.middleware.config.js"); diff --git a/jscomp/test/webpack_config.res b/tests/tests/src/webpack_config.res similarity index 100% rename from jscomp/test/webpack_config.res rename to tests/tests/src/webpack_config.res diff --git a/tests/tests_esmodule/rescript.json b/tests/tests_esmodule/rescript.json new file mode 100644 index 0000000000..7434c44b96 --- /dev/null +++ b/tests/tests_esmodule/rescript.json @@ -0,0 +1,19 @@ +{ + "name": "rescript-tests", + "sources": [ + { + "dir": "src", + "subdirs": true + } + ], + "package-specs": { + "module": "esmodule", + "in-source": true, + "suffix": ".mjs" + }, + "bsc-flags": [ + "-bs-cross-module-opt", + "-w -3-6-26-27-29-30-32..40-44-45-52-60-9-106+104", + "-warn-error A" + ] +} \ No newline at end of file diff --git a/jscomp/test/ImportAttributes.mjs b/tests/tests_esmodule/src/ImportAttributes.mjs similarity index 100% rename from jscomp/test/ImportAttributes.mjs rename to tests/tests_esmodule/src/ImportAttributes.mjs diff --git a/jscomp/test/ImportAttributes.res b/tests/tests_esmodule/src/ImportAttributes.res similarity index 80% rename from jscomp/test/ImportAttributes.res rename to tests/tests_esmodule/src/ImportAttributes.res index 2a70431a45..3fb4ee6249 100644 --- a/jscomp/test/ImportAttributes.res +++ b/tests/tests_esmodule/src/ImportAttributes.res @@ -1,5 +1,3 @@ -@@config({flags: ["-bs-package-output", "es6:jscomp/test:.mjs"]}) - @module({from: "./myJson.json", with: {type_: "json", \"some-identifier": "yep"}}) external myJson: Js.Json.t = "default" diff --git a/jscomp/test/es6_export.mjs b/tests/tests_esmodule/src/es6_export.mjs similarity index 100% rename from jscomp/test/es6_export.mjs rename to tests/tests_esmodule/src/es6_export.mjs diff --git a/tests/tests_esmodule/src/es6_export.res b/tests/tests_esmodule/src/es6_export.res new file mode 100644 index 0000000000..ce6c529198 --- /dev/null +++ b/tests/tests_esmodule/src/es6_export.res @@ -0,0 +1 @@ +let default = 3 diff --git a/jscomp/test/es6_import.mjs b/tests/tests_esmodule/src/es6_import.mjs similarity index 100% rename from jscomp/test/es6_import.mjs rename to tests/tests_esmodule/src/es6_import.mjs diff --git a/tests/tests_esmodule/src/es6_import.res b/tests/tests_esmodule/src/es6_import.res new file mode 100644 index 0000000000..bbd59f7de5 --- /dev/null +++ b/tests/tests_esmodule/src/es6_import.res @@ -0,0 +1 @@ +Js.log(Es6_export.default) diff --git a/jscomp/test/gpr_4931_allow.mjs b/tests/tests_esmodule/src/gpr_4931_allow.mjs similarity index 100% rename from jscomp/test/gpr_4931_allow.mjs rename to tests/tests_esmodule/src/gpr_4931_allow.mjs diff --git a/jscomp/test/gpr_4931_allow.res b/tests/tests_esmodule/src/gpr_4931_allow.res similarity index 55% rename from jscomp/test/gpr_4931_allow.res rename to tests/tests_esmodule/src/gpr_4931_allow.res index c68e924430..0138900626 100644 --- a/jscomp/test/gpr_4931_allow.res +++ b/tests/tests_esmodule/src/gpr_4931_allow.res @@ -1,7 +1,3 @@ -@@config({ - flags: ["-bs-package-output", "es6:jscomp/test:.mjs"], -}) - %%raw(` if(import.meta.hot) { import.meta.hot.accept();