aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2012-03-16Extend erlang:port_info/1,2 to show the OS pid of a spawned processMatthias Lang
When spawning OS (unix) processes with erlang:open_port, store the resulting unix pid so that it can be queried later on using erlang:port_info/1,2.
2012-03-15Merge branch 'maint'Peter Andersson
2012-03-15Merge remote branch 'origin/peppe/common_test/otp-9666' into maintPeter Andersson
* origin/peppe/common_test/otp-9666: Set correct group leader for end_per_testcase process after tc timeout OTP-9666
2012-03-15Merge remote branch 'origin/peppe/common_test/otp-9634_9659' into maintPeter Andersson
* origin/peppe/common_test/otp-9634_9659: Change the option name 'unique_priv_dir' to 'create_priv_dir' Add test suite for the unique_priv_dir feature Make it possible to use unique priv_dir names Create entry for every repeated test in index.html OTP-9634 OTP-9659
2012-03-15Merge branch 'maint'Rickard Green
* maint: Remove newly introduced excessive barrier in erts_thr_progress_later() Fix implementation with ddrb barriers
2012-03-15Merge branch 'maint'Gustav Simonsson
2012-03-15Merge branch 'rickard/barriers/OTP-9922' into maintRickard Green
* rickard/barriers/OTP-9922: Remove newly introduced excessive barrier in erts_thr_progress_later() Fix implementation with ddrb barriers
2012-03-15* sa/dialyzer-fixes:Gustav Simonsson
Ensure that -on_load functions are not reported as unused Unknown types are being reported by dialyzer's GUIs Fix bug in remote type solving Review by Kostis Sagonas and fixes Simplify external vs bad calls check Remove callgraph from the state used during solving Refactorings in dialyzer_typesig Avoid unnecessary passing of huge terms in some closures Further simplifications Remove redundant code Simplify dialyzer_succ_typings code Cleanups in dialyzer_callgraph and dialyzer_dataflow Zero-arity unused functions Dialyzer patch Cleanup debug messages in dialyzer_dataflow Refactorings in dialyzer_analysis_callgraph Allow t_opaque_structure to handle multiple opaque types Support alternative spelling of behaviour Refactor function selection by Dialyzer's codeserver Prettify spec Small fixes for Dialyzer's testsuites generation
2012-03-15Merge branch 'sa/dialyzer-fixes' into maintGustav Simonsson
2012-03-14Ensure that -on_load functions are not reported as unusedStavros Aronis
2012-03-14Merge branch 'maint'Raimo Niskanen
2012-03-14erts: Do not rebuild all emulator when preloaded changesRaimo Niskanen
2012-03-14Update preloaded modulesBjörn-Egil Dahlberg
2012-03-14Merge branch 'egil/r16/redocument-scheduler_wall_time/OTP-9858'Björn-Egil Dahlberg
* egil/r16/redocument-scheduler_wall_time/OTP-9858: Update preloaded erlang.beam doc: Reintegrate R15B01 scheduler_wall_time doc
2012-03-14Merge branch 'maint'Björn Gustavsson
* maint: Update primary bootstrap 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 branch 'maint'Peter Andersson
2012-03-14Update primary bootstrapBjörn Gustavsson
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-9898' into maintPeter Andersson
* origin/peppe/common_test/otp-9898: Create link to ct_run in the installation bin dir OTP-9898
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-14Set correct group leader for end_per_testcase process after tc timeoutPeter Andersson
Also make sure that warnings about failure or timeout of end_per_testcase (after a test case timeout) get printed in the test case log file. OTP-9666
2012-03-13Change the option name 'unique_priv_dir' to 'create_priv_dir'Peter Andersson
The new values for create_priv_dir are: auto_per_run, auto_per_tc, manual_per_tc
2012-03-13Add test suite for the unique_priv_dir featurePeter Andersson
2012-03-13Make it possible to use unique priv_dir namesPeter Andersson
Introduce the optional feature to have Test Server generate priv_dir directory names that are unique for each test case or config function. The name of the option/flag is 'unique_priv_dir' and it can be set to value 'auto' or 'manual'. If auto, Test Server creates each priv_dir automatically (can be expensive in case of many and/or repeated cases). If manual, the user needs to create the priv_dir explicitly by calling ct:make_priv_dir/0.
2012-03-13Create entry for every repeated test in index.htmlPeter Andersson
For each repeated test during a test run, an entry is created in the index.html file (i.e. the overview file for the test run). In the top level (logdir) index file, only the last test result is listed. E.g, given the test spec: [{merge_tests,false},{dirs,testobj1},{dirs,testobj1}] In the index file for the test run (under Logdir/ct_run.Node.Date.Time), both dir tests are listed. In the top level index file (under Logdir), only the last test is listed (one has to find all results through the all_runs.html file).
2012-03-13Merge branch 'maint'Sverker Eriksson
2012-03-13Merge branch 'maint'Peter Andersson
2012-03-13Merge branch 'sverk/cpu-topology-crash' into maintSverker Eriksson
* sverk/cpu-topology-crash: erts: Fix crash on Linux if /sys/devices/system/node is not readable OTP-9978
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-12Create link to ct_run in the installation bin dirPeter Andersson
OTP-9898
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-12Remove newly introduced excessive barrier in erts_thr_progress_later()Rickard Green
2012-03-12Fix implementation with ddrb barriersRickard Green
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-09Update preloaded erlang.beamBjörn-Egil Dahlberg
2012-03-09doc: Reintegrate R15B01 scheduler_wall_time docBjörn-Egil Dahlberg
2012-03-09Merge branch 'maint'Björn-Egil Dahlberg
2012-03-09Merge branch 'egil/redocument-scheduler_wall_time/OTP-9858' into maintBjörn-Egil Dahlberg
* egil/redocument-scheduler_wall_time/OTP-9858: doc: Enhance wording and remove typos doc: Move examples and notes into tag-lists doc: Rewording of scheduler_wall_time doc: Change variable name to 'A' to reflect Active doc: Rewording of scheduler busy Update scheduler_wall_time documentation
2012-03-09Merge branch 'sverk/threadsafe-code-loading'Sverker Eriksson
* sverk/threadsafe-code-loading: (59 commits) erts: Fix assert failure when code_server exits "during" commit erts: Fix memory leak in code loading erts: Adapt gdb etp-command for new beam_ranges erts: Set correct default tracing when loading code erts: Fix faulty assert in non-smp debug vm erts: Use correct macro for "yield-return" erts: Refactor code loading with renaming erts: Seize code_ix lock when updating trace settings erts: Switch order between code_ix lock and thread blocking erts: Fix race bug in finish_after_on_load erts: Refactor export staging lock erts: Activate staged code in a thread safe way erts: Suspend processes waiting for code_ix lock erts: Fix compiler warning in inet_drv erts: Fix single threaded fallback in new BIF finish_loading_1 erts: Fix type bug Break apart erlang:load_module/2 into two separate BIFs Use magic binaries in erts_prepare_loading() and erts_finish_loading() erts: Cleanup non-blocking load erts: Fix memory query for non-blocking module table ... OTP-9974