aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2012-03-14Merge branch 'bjorn/compiler/coverage-and-minor-fixes/OTP-9982' into maintBjörn Gustavsson
* bjorn/compiler/coverage-and-minor-fixes/OTP-9982: v3_life: Use common code for guards and bodies v3_core: Don't put negative line numbers in annotations v3_kernel: Dig out the line number only when generating a warning v3_kernel: Clean up handling of guards v3_kernel: Introduce is_in_guard/1 v3_kernel: Removed unreached clause for #k_bin_int{} in sub_size_var/1 v3_kernel: Remove unreached handling of #k_bin_int{} in arg_con/1 v3_codegen: Eliminate the special case of 'put' without destination v3_kernel: Don't attempt to share identical literals v3_kernel: Handle sequences in guards v3_kernel: Remove clauses that are never executed in arg_val/1 v3_kernel.hrl: Remove unused record #k_string{} v3_kernel.erl: Remove unused define of EXPENSIVE_BINARY_LIMIT sys_core_fold: Refactor previous_ctx_to_binary/2 to cover it completely sys_core_fold: Fix opt_guard_try/1 sys_core_fold: Simplify opt_bool_not() to cover it completely sys_core_fold: Remove duplicate optimization
2012-03-14Merge remote branch 'origin/peppe/common_test/otp-9899' into maintPeter Andersson
* origin/peppe/common_test/otp-9899: Fix broken repeat functionality OTP-9899
2012-03-14Merge remote branch 'origin/peppe/common_test/otp-9964_9975_9595' into maintPeter Andersson
* origin/peppe/common_test/otp-9964_9975_9595: Have ct_run clean up the code path after each test run Fix problems with ct_run's code path manipulation OTP-9964 OTP-9975 OTP-9595
2012-03-14v3_life: Use common code for guards and bodiesBjörn Gustavsson
2012-03-14v3_core: Don't put negative line numbers in annotationsBjörn Gustavsson
In Core Erlang and later passes, compiler-generated code can be indicated in two different ways: by negative line numbers and by a 'compiler_generated' annotation. Simplify the code and improve coverage by turning negative line numbers positive and adding a 'compiler_generated' annotation in the v3_core pass. That means that Core Erlang and latter passes do not have deal with negative line numbers.
2012-03-14v3_kernel: Dig out the line number only when generating a warningBjörn Gustavsson
2012-03-14v3_kernel: Clean up handling of guardsBjörn Gustavsson
Handling of guards become a mess when andalso/orelse in guards were introduced. Clean it up by using common code for most constructs, regardless of where they occur, and when needed use is_in_guard/1 to handle guard constructs differently.
2012-03-13Merge remote branch 'origin/peppe/common_test/otp-9730' into maintPeter Andersson
* origin/peppe/common_test/otp-9730: Add column for group name in suite overview log file OTP-9730
2012-03-13Merge remote branch 'origin/peppe/common_test/otp-9904_9900' into maintPeter Andersson
* origin/peppe/common_test/otp-9904_9900: Introduce error notification printout in the tc log OTP-9904 OTP-9900
2012-03-13Merge remote branch 'origin/peppe/common_test/otp-9830' into maintPeter Andersson
* origin/peppe/common_test/otp-9830: Fix problem with buffered DOWN messages OTP-9830
2012-03-13Merge remote branch 'origin/peppe/common_test/otp-9958' into maintPeter Andersson
* origin/peppe/common_test/otp-9958: Fix problem with dropped suite- and test case names OTP-9958
2012-03-13Fix broken repeat functionalityPeter Andersson
OTP-9899
2012-03-12Have ct_run clean up the code path after each test runPeter Andersson
OTP-9595
2012-03-12Fix problems with ct_run's code path manipulationPeter Andersson
OTP-9964 OTP-9975
2012-03-12Add column for group name in suite overview log filePeter Andersson
OTP-9730
2012-03-11Introduce error notification printout in the tc logPeter Andersson
Also fix problem with parallel test cases printing "into each other" (when using ct:print or ct:pal). OTP-9904 OTP-9900
2012-03-09Merge branch 'lukas/test_server/ts_skip_unknown_applications/OTP-9971' into ↵Lukas Larsson
maint * lukas/test_server/ts_skip_unknown_applications/OTP-9971: Ignore non-app suites when checking suites to skip Create special spec file when application is missing
2012-03-09Ignore non-app suites when checking suites to skipLukas Larsson
2012-03-09Create special spec file when application is missingLukas Larsson
When an application cannot be found by ts, a special skip testspec is created which skips all tests in that application.
2012-03-09Merge branch 'lukas/erl_docgen/fix_range_type/OTP-9970' into maintLukas Larsson
* lukas/erl_docgen/fix_range_type/OTP-9970: Add so that <img> tags will be transformed to <image> Allow 1..2 types to be exported from edoc
2012-03-08Fix problem with buffered DOWN messagesPeter Andersson
OTP-9830
2012-03-07Merge branch 'ia/ssh/windows-sftp-tests' into maintIngela Anderton Andin
* ia/ssh/windows-sftp-tests: Skip set_attributes test on windows due to known erts bug in file:read_file_info/1
2012-03-06Merge branch 'peppe/common_test/otp-9933' into maintPeter Andersson
* peppe/common_test/otp-9933: Add missing test suite OTP-9933
2012-03-06Add missing test suitePeter Andersson
2012-03-06Update vsn for R15B01Peter Andersson
2012-03-06Fix problem with dropped suite- and test case namesPeter Andersson
OTP-9958
2012-03-06Correct wrong location printout for ct:fail/1/2Peter Andersson
OTP-9933
2012-03-06Merge remote branch 'origin/peppe/common_test/otp-9855' into maintPeter Andersson
* origin/peppe/common_test/otp-9855: Ensure that comments always get printed in the overview log file OTP-9855
2012-03-06Merge remote branch 'origin/peppe/common_test/otp-9930' into maintPeter Andersson
* origin/peppe/common_test/otp-9930: Make line numbers show in logs for timetraps and abortions OTP-9930
2012-03-06Merge remote branch 'origin/peppe/common_test/otp-9941-9955' into maintPeter Andersson
* origin/peppe/common_test/otp-9941-9955: Fix problem with handling error_logger events OTP-9941 OTP-9955
2012-03-06Merge remote branch 'origin/peppe/common_test/otp-9894' into maintPeter Andersson
* origin/peppe/common_test/otp-9894: Fix problem with large fun environment being copied unnecessarily Implement asynchronous call to print to test case log file OTP-9894
2012-03-06Skip set_attributes test on windows due to known erts bug inIngela Anderton Andin
file:read_file_info/1
2012-03-06Merge branch 'ia/ssh/sftpd-file-handles/OTP-9948' into maintIngela Anderton Andin
* ia/ssh/sftpd-file-handles/OTP-9948: sftp daemon generates file handles correct
2012-03-05Ensure that comments always get printed in the overview log filePeter Andersson
OTP-9855
2012-03-05Merge branch 'hb/stdlib/digraph_condensation/OTP-9953' into maintHans Bolinder
* hb/stdlib/digraph_condensation/OTP-9953: Remove loops from the graph created by digraph_utils:condensation/1
2012-03-05Leave control back to gen_server during supervisor's restart loopSiri Hansen
When an attempt to restart a child failed, supervisor would earlier keep the execution flow and try to restart the child over and over again until it either succeeded or the restart frequency limit was reached. If none of these happened, supervisor would hang forever in this loop. This commit adds a timer of 0 ms where the control is left back to the gen_server which implements the supervisor. This way any incoming request to the supervisor will be handled - which could help breaking the infinite loop - e.g. shutdown request for the supervisor or for the problematic child. This introduces some incompatibilities in stdlib due to new return values from supervisor: * restart_child/2 can now return {error,restarting} * delete_child/2 can now return {error,restarting} * which_children/1 returns a list of {Id,Child,Type,Mods}, where Child, in addition to the old pid() or 'undefined', now also can be 'restarting'.
2012-03-05Make line numbers show in logs for timetraps and abortionsPeter Andersson
OTP-9930
2012-03-02Fix problem with handling error_logger eventsPeter Andersson
OTP-9941 OTP-9955
2012-03-01sftp daemon generates file handles correctIngela Anderton Andin
Also always run ssh_sftp_SUITE against own daemon as well as openssh if existing. Corrected links test case and found that openssh has a known bug that swaps the create link arguments. Created separate ticket (OTP-9951) to deal with this.
2012-03-01Merge branch 'mh/create_cookie_error_msg' into maintGustav Simonsson
* mh/create_cookie_error_msg: Specify file name and error on create_cookie failure OTP-9954
2012-03-01Remove loops from the graph created by digraph_utils:condensation/1Hans Bolinder
The function digraph_utils:condensation/1 used to create a digraph containing loops contradicting the documentation which states that the created digraph is free of cycles. Thanks to Kostis Sagonas for finding the bug.
2012-02-29Merge branch 'alind/asn1/parallel-tests' into maintAdam Lindberg
* alind/asn1/parallel-tests: [asn1] Refactor test cases and remove extra suites [asn1] Replace 'driver' option with 'nif' [asn1] Correct test suite dependencies [asn1] Parallelize test suites [asn1] Make tables and processes unnamed [asn1] Abstract out table access to new module [asn1] Run asn1 compilation in a separate process
2012-02-29[asn1] Refactor test cases and remove extra suitesAdam Lindberg
2012-02-28Make hipe hipe-compiled w/ --enable-native-libsPatrik Nyblom
2012-02-28[asn1] Replace 'driver' option with 'nif'Adam Lindberg
2012-02-28[asn1] Correct test suite dependenciesAdam Lindberg
2012-02-28[asn1] Parallelize test suitesAdam Lindberg
2012-02-28[asn1] Make tables and processes unnamedAdam Lindberg
- Refactor and clean up asn1_db process - Remove unused stop function in asn1ct.erl - Remove infinite loop possibilites in asn1ct_check.erl - test/1,2,3 now run in separate process - Update documentation for new test options
2012-02-28[asn1] Abstract out table access to new moduleAdam Lindberg
All table access is now performed in a separate module. This will allow changes to how ETS is handled by changing only this module. Note that the module exports a very ETS-like interface for now which would have to be maintained even if the data format would change (to a hash map for example).
2012-02-28[asn1] Run asn1 compilation in a separate processAdam Lindberg