Caml1999T037a^qC,TestToplevelР'Harness&Import'Harness?testsuite/tools/testToplevel.mlOO@ OO@@ @3@@@@@@#intA;@@#intA@@@@@&_none_@@A@A@$charB;@@$charA@@@@@ @A@&stringQ;@@&stringA@@@@@@@@%bytesC;@@%bytesA@@@@@@@@%floatD;@@%floatA@@@@@@@@$boolE;@@%falsec@@%@$trued@@+@@@A@@@@@,@A@$unitF;@@"()e@@6@@@A@@@@@7@A@ #exnG;@@@A@@@@@;@@@#effH;@@O@A@A@@@@@@D@@@,continuationI;@@Q@@P@B,continuationA@nY@@@@@@T@@@%arrayJ;@@R@A%arrayA@@@@@@_@@@ $listK;@@S@A"[]f@@l@"::g@@@T@@y@ @@A@Y@@@@@|@@@&optionL;@@V@A$Noneh@@@$Somei@@@@@A@Y@@@@@@@@)nativeintM;@@)nativeintA@@@@@@@@%int32N;@@%int32A@@@@@@@@%int64O;@@%int64A@@@@@@@@&lazy_tP;@@X@A&lazy_tA@Y@@@@@@@@ 5extension_constructorR;@@5extension_constructorA@@@@@@@@*floatarrayS;@@*floatarrayA@@@@@@@@&iarrayT;@@Y@A&iarrayA@Y@@@@@@@@ *atomic_locU;@@Z@A*atomic_locA@@@@@@@@@ .Assert_failure`#@@@@@J@@@@@@@@[@@A頰=ocaml.warn_on_literal_pattern@@0Division_by_zero]#@@@A󠰠  @+End_of_file\#$@@@A@'FailureY#,@'@@A@0Invalid_argumentX#5@0@@A $#@-Match_failureV#>@@=@9@;@@a@@A5!4!@)Not_foundZ#O@@@A&=)<)@-Out_of_memoryW#W@@@A.E1D1@.Stack_overflow^#_@@@A6M9L9@.Sys_blocked_io_#g@@@A>UATA@)Sys_error[#o@j@@AG^J]J@:Undefined_recursive_modulea#x@@w@s@u@@h@@AXo[n[@:Continuation_already_takenb#@@@A`wcvc@&Stdlib@@@@A3@@@O@@@3@@@@ఠ#run SS@AA@@@'Harness&Import&config@@@*A@!@@"@+Environment!t@@@'HA@'@@(@'Harness&Import$mode@@@ A@-@@.$unitF@@@*A@/@@0A@)@@*A@#@@$A@ 3@Q@@@࣠@&config"ASS@BA@@F3@bUSR@@@@@  @@#env#A SS@$CA@@H3@!]@@@@@@@@$mode$ASS@5DA@@I3@\@@@@@@@@@ఠ(toplevel%1T2T@HEA@@&stringQ@@@ E@3332233333@(g@@ @@@డ+Environment)tool_path+EnvironmentOTPT@ STTT@@@@@@ V@@ U@@@@ T@@ S@2@@@ R@@ Q@:@@@ P@@ O>@@@ N@@ M@@ L@@ K@@ J@?testsuite/tools/environment.mli|  |  @@J@/*@@@@@@ @@ @@@@ @@ @'@@@ @@ @&@@@ @@ c@@@ @@ @@ @@ @@ `@@ఐ#envTT@@@m@@ఐ$modeTT@w@@z@@%ocamlTT@@TT@@_@@@ F@ F@ @@(ocamlnatTT@@TT@@k@@@ F@ F@ @@ @@@A@T @@ డQ&Format&printfUU@ UU@@@&Stdlib&format!a@ &Stdlib&Format)formatter@@@$unitF@@@@@@@@@@@*format.mliww)@@.Stdlib__Format@2-@@@*@@.@@@E@1@@A@ @@@E@E@*@@@@@@E@E@.@@?@@>E@@@@@@E@@@E@@@E@O@@@H@@@@@@@@7@@3WVVWWWWW@%6/@0@1@@@@ภ8CamlinternalFormatBasics9&Format;qUrUA;&Format8CamlinternalFormatBasics'format6!a@i!b@j!c@k!d@l!e@m!f@n@@@@'#fmt$ @@@Ġ&stringQ@@@@B@@A@A@!x@@@=!c@@@<@@;@@:@ @@9!a@@@8@@7!d@à!e@Ġ!f@@@@6@/$@@@?@AOAYAA''(.(j@@@o@ภ!,Char_literal#;,Char_literal!a@!b@!c@!d@!e@!f@@@@%@$charB@@@&)%!@@@'@BLAYAA%%%%@@@l@J%@@@@XF@[F@Z;@ภ6n%Flushp5;%Flush !a@u!b@v!c@w!d@x!e@y!f@z@@@ @-"@@@!@AJAYAA$##%$Y${@@@]j@ภq-End_of_formatp;-End_of_formatF!f@4!b@5!c@6!e@7@@@o@@@@AYAAM..N./!@@@y@@@fE@E@ E@8G@]E@ E@E@7G@^G@_G@`G@aG@b@@@gF@o@@@!G@MG@N&G@O)G@P,G@Q/G@R@@@YF@f@@@7E@(9G@2;G@3=G@4@@@KF@W@@@!G@=FGHI@@@"F@B@@@.G@HQRST@@@F@@ %Testing loading of libraries in %a %!@@@@@F@qF@p @@@@rH;+@@@F@ @@డ8'pp_path+EnvironmentV*V5@ V6V=@@@@@@ r@@ q@&Stdlib&Format)formatter@@@ p@@ o@c@@@ n@@ m$unitF@@@ l@@ k@@ j@@ i@7N  8N  @@N@/*@@@@@@@@@'@@@@@@@@@@@ @@@@@@@@@k@@ఐ̠#envV>VA@@@x@@V)VB@@E@}@@ఐ(toplevelVCVK@@@F@@@@@@@ఠ:test_libraries_in_toplevelWMSWMm@FA@@@$listKd@@@$$J@!@@@!E@@@$unitF@@@*eE@@@E@3@@@@࣠@)librariesA%WMn&WMw@O@$AO@$@F@ภ  %ภ  !-@-@P@$D@@@$VO@$b^@ภ 0 1=#";;B@B@@@@$sO@$vO@$ur@ภ  D EQ@Q@N@#iN@#N@#N@#N@#N@#N@$N@$ N@$=N@$UN@$rP@$dR@@@#O@#VO@#hO@#O@#O@#O@#O@#O@$O@$O@$@@@$ZO@$p@@@(-P@$/.EFGH@@@$?O@$S@@@497NOPQ@@@$%O@$;@@@?JP@#AXYZ[@@@$ O@$@@@KVJabcd@@@#O@$@@@VjP@#ŠTklmn@@@#O@#@@@bv]tuvw@@@#O@#@@@mP@#g~@@@#O@#@@@yp@@@#O@#@@@P@#[z@@@#kO@#*@@@P@#6@@@#XO@#g6@ A#directory "+%s";; #load "%s.%s";; print_endline "Loaded %s.%s";;@@@@@#YO@$O@$B@@@@ɠ@AO@$O@$O@$@AO@$O@$O@$O@$@AO@$O@$O@$O@$O@$O@$@@$O@$/@$O@$@@$O@$@@#O@#U@@ఐH'library n n@)@@@@ఐU'library n n@6@@@@ఐL#ext n n@@@"O@$@@ఐq'library n n@R@@@@ఐh#ext n n@ʰ@@/O@$@@@@+N@#@డ ="|| p   p  @@@@@]@@\@@@@[@@Z@@@Y@@X@@W'%sequorBA>@@@@=>@@^@ @@@@@@$@@$@@@@$@@$@@@$@@$@@$ @@ఐנ*c_bindings o  o @°@@@@డ "&& $p  7 %p  9@@@@@V@@U@@@@T@@S@@@R@@Q@@P(%sequandBA@@@@@@ 4]@! @@@@@@$@@$@@@@$@@$@@@$@@$@@$V@@డ "<> bp  * cp  ,@@!a@@@ @@@0@@@@@@@)%notequalBAà@@@@~QQ~Q@@ nR@@@@yO@$@@$@@@$@@@$@@$@@$@@ఐJ'library p  " p  )@+@@@@'dynlink p  . p  5@@ p  - p  6@@P@$@@@@@@@$@$P@$@@డ  p  ? p  @@@@@ O@$@@$@@@$@@@$@@$@@$@@ఐ $mode p  : p  >@ @@ @@ภ(Bytecode p  A p  I@@@@ P@$@@@@@@@$@$P@$@@ p  ! p  J@@ @@@$@$O@$@@ o  p  K@@*N@$@@@@@@@ ]Un p  L@@@@@!@@@!@@!@@!K@%K@$8@@ภ%false p  M p  R@;  @@@M@@@@B@@A @@ @ @@OK@%@@ఐ )libraries ,p  S -p  \@@@-@@G@@Z@A@ 1\;C@@ డ &Printf'fprintf Ar h p Br h v@  Er h w Fr h ~@@@@@@@@%@@%@ @@@%J@%$J@%@@@%@@@%@A@%,@%-@%.@A(@%1#@%2"@%3'@%4@A<@%77@%86@%99@%:<@%;?@%<@@%=@%6/@%5@%0@@%/@%+@@%@@%O@@% @@% 3        @@@@@@@ఐ"oc r h  r h @ݰ@@E@AG@@%*K@%)@@%'@@ภ \  [  r h  r h A Zภ g     (#quit;; @@ @@@%sK@%vK@%u;@ภ {    @@ OJ@%`J@%rL@%d@@@%#K@%_K@%q  @@@%tK@%Z@@6@ fL@%?@@@%aK@%pf@7F@F@ l@@@%bK@%K@%q@@ML@@ǠƠ&@Ak6K@%3K@%K@%@AwfFK@%CK@%K@%K@%@AvdZK@%WK@%K@%K@%K@%K@%@@%K@%/@%K@%@@%K@%@@%"K@%^@@@@ @ఐ+has_c_stubsgs  hs  @@@)@*@@*@;@@+@m[0ns  @@@@@@8@@7@@6H@%H@%3@@$ @@4@A@|Xz~@@@ఠ$argstu  u  @NA@@  @@@%G@%@@@%G@%3@Qb[@\@]@@@ภ"::v  v  A;  @@U@ B@AA@Ar@@ '-noinitv  v  @@v  @@@ภv  A+-no-versionv  v  @@ v  @@1G@%-@ภ+v  *A))-nopromptv  v  @@ v  @@DG@%@@ภ>v  =A<6test_install_script.mlv  v  @@ v  @@WG@%S@ภ"[] PA;SO@@@@AA@A@@R@ SA@MhH@%@@@%G@%e@@ \A@VqH@%@@@%G@%n@@<eA@_zH@%@@@%G@%w@@XnA@h@@@%G@%~@@v  v@@@@@%@A@u  |@@@ఠ2expected_exit_codeu'x  (x  #@>OA@@@@@&G@%3&%%&&&&&@@@@@@డ ={  >{  @@@@@@@%@@%@@@@%@@%@@@%@@%@@%!@@ఐ +has_c_stubs[{  \{  @İ@@7@@@%H@%H@%5@@డ #notq{  r{  @@ 7@@@O@@N ;@@@M@@L(%boolnotAAΠ@@@LLLt@@ x\@@@@@@@%@@%@@@%@@%c@@డ&Config9supports_shared_libraries&Config{  {  @ {  {  @@$boolE@@@&@0utils/config.mlia**a**@@&ConfigR@@@D@@@%I@&I@&@@O@@@@@%@&I@%@@m @@@@@&H@%@}|  |  @@@@~  ~  @@G@&@{  @@@A@x  @@@@ఠ)exit_codeؠ@  @  @PA@@#intA@@@'@@@'=G@&@@)@@@)@@@&#@డ +run_process+Environment*G  +G  @ .G  /G  @@'runtime&optionL$boolE@@@ @@@ @@ %stubs@@@ @@@ @@ &stdlib!@@@ @@@ @@ 4prefix_path_with_cwd/,@@@ @@@ @@ %quiet=:@@@ @@@ @@ %failsKH@@@ @@@ @@ @@@@ @@ @_@@@ @@ %argv0hl@@@ @@@ @@ @y@@@ @@@ @@ @@@@ @@@@ @@@ @@ @@ @@ @@ @@ @@ @@ @@ @@ @@ @@ @M`Nc@@R@@@@@@&@@@&@@&@@@&@@@&@@&@@@&@@@&@@&@@@&@@@&@@& @@@&@@@&@@&͠@@@&@@@&@@&@E@@@&@@&@@@@&@@&~@@@&@@@&@@&@}|@@@&@@@&@@&@@@@@&ޠ@.+@@@&@@@&@@&@@&@@&@@&@@&@@&@@&@@&@@&@@&@@&F@ภ$Some;@@W@A@AA@A@@డ46WI  7XI  9@3@@@3@@@'b@@'a@2@@@'`@@'_1@@@'^@@']@@'\q@@డ ؠ ڰvI  ,wI  -@ װ@@@I@'x@@'y@@@'w @@@'v@@'u@@'t@@ఐu$modeI  'I  +@S@@@@ภ(BytecodeI  .I  6@ @@@J@'@@@@{@@@'r@'J@'@@డ#notI  :I  =@D@@@D@@@'@@'C@@@'@@'@@ఐؠ&configI  >I  D@@@@>launcher_searches_for_ocamlrunI  EI  c@3>launcher_searches_for_ocamlrun @@@$boolE@@@@@D'3,has_ocamlnat  @@@@@@@A [z   \z  @@.Y@3,has_ocamlopt@@@@@A@A e|   f|  @@8Z@33has_relative_libdir &optionL&stringQ@@@@@@@@B$@A x~ Y ] y~ Y @@K[@32has_runtime_search3&Config-search_method@@@@@C2@A A   A  !@@Y\@A3 %target_launcher_searches_for_ocamlrunA>@@@@@E<@A G e i G e @@c^@3 H   H  @@@@@@@'H@'@@'@ @@'@@@'@@'@@'%@@ఐ2expected_exit_code)H  *H  @/@@2@@@3H  4H  @@"I@'=@@8H  9H  @@@@@'K@'I@'G@@ @נ @@@'K@@ఐE#envOJ e PJ e @-@@X@@ఐ+(toplevel\J e ]J e @@@@@@'FH@'H@'l@̐ภ8@8@7@@@'@@@'@@'|@@ఐ$argsJ e J e @P@@۠@@@'A@@@'@H@'H@'@@e@@@@@@'H@';@A@@  @@ డ[.display_output+EnvironmentL  L  @ L  L  @@@@@@ @@@ @@ @@@ @@ @I  J ! @@T@@@@@@@'@@@'@@'@@@'@@'3@@@@@@@@@ఐޠ&outputL  L  @ @@65@@@'@@@'H@'H@'@@J@@@@@'G@'#@ డg"<>M  M  @@@@@@@(G@(@@(@ @@(@@@(@@(@@(C@@ఐ3)exit_code!M  "M  @L@@P@@ఐ2expected_exit_code.M  /M  @4@@&H@(_@@@@ I@@@(H@(e@డH,fail_because'HarnessFN GN@ JNKN@@@&Stdlib'format4!a@$unitF@@@ܠg@@@ݠ!b@@@@@@@@@ oZZ oZ@@i@/*@@@'@v@@@(u@@(t@#intA@@@(@@(L@@@(G@(G@(G@(@@(G@(^@@(sG@(<@@@(9@@@(@AQ, ڠ2G@(zG@(+@(1@(2@(3'@(4@A  ۠@(7+@(8*@(9-@(:0@(;?@(<@@(=@(62@(5@(0@@(@@(Y@@(@@ภqpN NFAoภ|   ภ [ Z@@ {I@(`{@@@(rH@(~&@ภ̠F#E was expected to exit with code (@(@*@@@(H@(H@(:@ภ#Int8;#Int}!x@!b@!c@!d@!e@!f@@@@!y@ !a@#@(int_conv@@@ ٠2@@@)precision@@@@@@@@@@@Ġ#C?;73@@@@DDAYAA%%@@@d@ภ@%Int_dB;%Int_d4@@@@@@@P@@AUU@@@E@@@>@@@(H@(@ภ X Y @@ I@(G@(H@(@@@(H@(@ภ3k,No_precisionm;,No_precisionS!a@ޠ@@@@@@@BAAAlLNlLq@@@8o@@@c"1@@@(H@(@ภS@@'5p@@@(&H@(ZH@(pH@(H@(u@@@('H@([H@(qH@(H@(  PI@(@@@(H@(@@@JdI@("^I@(@@@(H@(@@@Xr-"#$kI@(e@@@(vH@(+@@ @eI@(?9./0yI@(D@@@(\H@(o9@ $%s was expected to exit with code %d3@3@n@@@(]H@(H@(E@@:9@@ʠQF@A YH@(Ѡ_H@(ҠVH@(ӠH@(@A i WH@(נsH@(ؠjH@(٠mH@(ڠpH@(۠H@(@@(H@(֑/@(H@(@@(%H@(Y}@@ఐ*(toplevel[OGb\OGj@@@H@(@@ఐC2expected_exit_codejOGkkOG}@p@@H@(@@*@@G@(.@@rM  @@@డ#Sys&removePP@ PP@@@&stringQ@@@)@@)@@@)@@)/caml_sys_removeAA @@@'sys.mli~  ~  @@+Stdlib__SysF@!@@@@@@*^@@*]@@@*\@@*[@@6test_install_script.mlPP@@P@@/@@@*gG@*iG@*h@@?@@@N@@@@@@*@@@@@@@@-@I@@~@A@E@*k@A@@డ5$List$iterRR@ RR@@@@!a@@@@@@@@@@@@@@@@@@@@@@@@@@U@)$@@@@@@@*@@@*D@*r@@*v&@@@*u@@*t@@*s@%@@@*q@@*p3@@@*o@@*n@@*m3@+$@%@&@@@@ఐ2:test_libraries_in_toplevel*R+R@ @@@-(@@@*@@@*@@*%@@@*@@*@@ఐQ&configGRHR@6@@-@)librariesNRM@ N@@cQ@@@*E@*E@*;@@W@@r<@-X@@sA@jY@@tB@{Z@@u@d[A@A@*b@A@_@_^@s@@@@@3YXXYYYYY@@@@,TestToplevelA@@ H************************************************************************mA@@nA@L@ H sBMMtBM@ H OCaml yCzC@ H DD3@ H David Allsopp, University of Cambridge & Tarides E44E4@ H FF@ H Copyright 2024 David Allsopp Ltd. GG@ H HHg@ H All rights reserved. This file is distributed under the terms of IhhIh@ H the GNU Lesser General Public License version 2.1, with the JJ@ H special exception on linking described in the file LICENSE. KKN@ H LOOLO@ H************************************************************************MM@ | This test verifies that a series of libraries can be loaded in a toplevel. Any failures cause the script to be aborted. QRM@ [ Generate a test script for loading each library in a separate toplevel instance. YZ@ dynlink.cmxs does not exist, for obvious reasons, but we can check loading the library in ocamlnat "works". bcU@ d Systems configured with --disable-shared can't load bytecode libraries which need C stubs y & ,z v @  In the Renamed phase, the ocaml binary will only be able to start if the launcher searches for ocamlrun (as the Windows executable launcher does). CAML_LD_LIBRARY_PATH will need to be set if any of the libraries being loaded need C stubs. Finally, Config.standard_library will still point to the Original location, requiring OCAMLLIB to be set for the toplevel to start at all. A  !F  @@(./ocamlc)-nostdlib"-I(./stdlib"-g0-strict-sequence*-principal(-absname"-w8+a-4-9-40-41-42-44-45-48+-warn-error"+a*-bin-annot/-strict-formats"-I/testsuite/tools"-I%utils"-I'parsing"-I&typing"-I(bytecomp"-I,file_formats"-I&lambda"-I*middle_end"-I2middle_end/closure"-I2middle_end/flambda"-I=middle_end/flambda/base_types"-I'asmcomp"-I&driver"-I(toplevel"-I%tools"-I'runtime"-I1otherlibs/dynlink"-I-otherlibs/str"-I4otherlibs/systhreads"-I.otherlibs/unix"-I8otherlibs/runtime_events"-I/testsuite/tools"-I/testsuite/tools"-c L/home/touraine/ci/builds/workspace/precheck/flambda/false/label/ocaml-arm-32 @543210/.-,+*)('&%$#"! @@0w4دI&'*63(''(((((@&@@5Build_path_prefix_map0DGl}%Y5Lhi(Byterntm0udTw|dxv ,Bytesections0@3\f8CamlinternalFormatBasics0|.e1R$|o&Config0܈[P(N {~Š0A. ,wEzD*Format_doc0uy@GmWUࠠY06la7̖n$Misc0]\/j*^e&Stdlib0t0VoS%{<F:0Stdlib__Bigarray081}wJf֠.Stdlib__Buffer0,I[?z/Stdlib__Complex0e<9r@fǠ.Stdlib__Digest0#z25I*.Stdlib__Domain0'Ϳo\0m.K.Stdlib__Either0HD ?|>.Stdlib__Format0b HvkR/Stdlib__Hashtbl0(L%bԠ,Stdlib__List0+TJaN.?+Stdlib__Map0*4ɇ2ɠӐ0I)/~S׋D@@AJC ; E@  @@@@ґ@@jt!+@@@ @@@@@@@P@3@0@@@A@@