aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2016-04-18Modernize use of timetrapsBjörn Gustavsson
Either rely on the default 30 minutes timetrap, or set the timeout using the supported methods in common_test.
2016-04-18int_SUITE: Fix interpretable/1 in a non-installed systemBjörn Gustavsson
interpretable/1 tests (among other things) that we are not allowed to interpret modules in certain applications (such as kernel and stdlib). int:interpretable/1 as currently implement enforces the restriction only in an installed system (the applications must have versions, such as kernel-1.2.3). We could modify int:interpretable/1 to enforce the restriction, but it could sometimes be useful to be able to debug (for example) erl_lint or other library modules that can safely be reloaded without crashing the run-time system. Therefore, assume that anyone working in a non-installed system knows what they are doing and fix the test case so that it stop failing in a non-installed system.
2016-04-18int_SUITE: Fix interpretable/1 on cross-compiled platformsBjörn Gustavsson
c7e82c6b406b teached the debugger to use the 'source' key in Mod:module_info/1 to help locate the source code corresponding to a BEAM file. The new test that was added at the same time will fail if the test suites were cross-compiled on another computer (i.e., the 'source' key would not point to the source file on the target computer). Avoid the problem by letting int_SUITE:init_per_suite/1 compile the BEAM files. That will ensure that 'source' keys points to the actual source file.
2016-04-14Merge branch 'egil/fix-dyntrace-test'Björn-Egil Dahlberg
* egil/fix-dyntrace-test: runtime_tools: Skip dyntrace test if LTTng is enabled
2016-04-13runtime_tools: Skip dyntrace test if LTTng is enabledBjörn-Egil Dahlberg
2016-04-13Merge branch 'egil/erts/opt-list_append/OTP-13487'Björn-Egil Dahlberg
* egil/erts/opt-list_append/OTP-13487: erts: Optimize '++' operator
2016-04-13Merge branch 'egil/tools/modernize-tests'Björn-Egil Dahlberg
* egil/tools/modernize-tests: tools: Don't divide by zero in tests Fix instruments_SUITE sumblock check Eliminate use of doc and suite clauses Replace ?t with test_server Use test_server:is_debug/0 instead of custom check Replace use of test_server:format/2 with io:format/2 Eliminate use of ?config() macro Eliminate use of test_server:fail/0,1 Eliminate erlang:now/0 Modernize use of timetraps Remove ?line macros
2016-04-13tools: Don't divide by zero in testsBjörn-Egil Dahlberg
2016-04-13Merge branch 'siri/otp-19-vsns'Siri Hansen
* siri/otp-19-vsns: Update version of common_test for OTP-19 Update versions
2016-04-13Merge branch 'siri/ct/mods-in-app-file/OTP-13475'Siri Hansen
* siri/ct/mods-in-app-file/OTP-13475: Don't add explicit path to ct_release_test Add missing modules to common_test.app.src
2016-04-13Merge branch 'henrik/update-copyrightyear'Henrik Nord
* henrik/update-copyrightyear: update copyright-year
2016-04-12Merge branch 'sverker/crypto/skip-link_test-without-ldd'Sverker Eriksson
2016-04-12Merge branch 'sverk/big-external-creations.OTP-13488'Sverker Eriksson
2016-04-12Merge branch 'patch-2' of https://github.com/michaelklishin/otpSverker Eriksson
2016-04-11Merge branch 'msantos/erts/cli-abort-on-alloc-fail/PR-948/OTP-13486'Björn-Egil Dahlberg
* msantos/erts/cli-abort-on-alloc-fail/PR-948/OTP-13486: erts/common: check for OOM on Windows
2016-04-11Merge branch 'egil/erts-lib/modernize-tests'Björn-Egil Dahlberg
* egil/erts-lib/modernize-tests: Replace test_server:os_type/0 with os:type/0 Eliminate use of doc and suite clauses Replace use of test_server:format/2 with io:format/2 Eliminate use of test_server:fail/0,1 Eliminate use of ?config() macro Modernize use of timetraps Remove ?line macros
2016-04-11Merge branch 'bjorn/raise'Björn Gustavsson
* bjorn/raise: Remove unreachable code after 'raise' instructions Simplify the raise instruction to reduce code size
2016-04-11erts: Optimize '++' operatorBjörn-Egil Dahlberg
This also optimizes the BIF lists:append/2 Use one pass to check for properness and copying LHS list. If LHS turns out not being a proper list, bail and reset htop. If we run out of heap, allocate a heap-fragment and calculate the remaining length as normal, thus checking for properness, and then continue copying. Measurements shows this being ~50% faster.
2016-04-10Typos correction, minor wording changeMichael Klishin
2016-04-08Merge branch 'egil/erts/fix-process_info-spec/ERL-123/OTP-13485'Björn-Egil Dahlberg
* egil/erts/fix-process_info-spec/ERL-123/OTP-13485: Update preloaded erlang.beam erts: Fix process_info/2 result spec
2016-04-08Merge branch 'egil/erts/cuddle-tests'Björn-Egil Dahlberg
* egil/erts/cuddle-tests: Additional logging for alloc_SUITE Replace test_server:os_type/0 with os:type/0 Let low_prio test run a bit longer Increase timetrap for atom_roundtrip_r15b Remove unnecessary ct boilerplate in suite Don't divide by zero in test logging Use ct:fail/1 instead of test_server:fail/1 Relax node_container_SUITE Increase timetrap timeout for op_SUITE:bsl_bsr/1 Increase timetrap timeout for port_SUITE:huge_env/1
2016-04-08Additional logging for alloc_SUITEBjörn-Egil Dahlberg
2016-04-08Replace test_server:os_type/0 with os:type/0Björn-Egil Dahlberg
2016-04-08Let low_prio test run a bit longerBjörn-Egil Dahlberg
2016-04-08Increase timetrap for atom_roundtrip_r15bBjörn-Egil Dahlberg
2016-04-08Remove unnecessary ct boilerplate in suiteBjörn-Egil Dahlberg
2016-04-08Don't divide by zero in test loggingBjörn-Egil Dahlberg
2016-04-08Don't add explicit path to ct_release_testSiri Hansen
This module is now in common_test.app, so it will be included in the release which is upgraded from (and to).
2016-04-08Update version of common_test for OTP-19Siri Hansen
This is done early so test of ct_release_test shall work.
2016-04-08Remove unreachable code after 'raise' instructionsBjörn Gustavsson
Remove the unreachable instructions after a 'raise' instruction (e.g. a 'jump' or 'deallocate', 'return') to decrease code size.
2016-04-08Simplify the raise instruction to reduce code sizeBjörn Gustavsson
The raise/2 instruction is almost always used like this: raise x(2) x(1) Therefore, we can translate it to an internal i_raise/0 instruction that uses x(2) x(1) as its implicit operands. We will also remove the backward compatibility with R10-0. It is unlikely that anyone still is using BEAM files compiled with the R10-0 compiler, especially since most of those modules cannot be loaded. The loader will refuse to load any module that uses the old non-GCIng arithmetic instructions or the non-GCing versions of length/1 or size/1. Doing these changes will reduce both the size of the loaded BEAM code and size of the code in process_main().
2016-04-07erts: Add DFLAG_BIG_CREATIONSverker Eriksson
to let future nodes know that we can handle NEW_PID_EXT, NEW_PORT_EXT and NEWER_REFERENCE_EXT.
2016-04-07Use ct:fail/1 instead of test_server:fail/1Björn-Egil Dahlberg
2016-04-07jinterface: Support 32-bit creation valuesSverker Eriksson
2016-04-07erl_interface: Support 32-bit creation for pid,port,refsSverker Eriksson
2016-04-07erts: Support 32-bit creation for external pid,port,refsSverker Eriksson
from future nodes.
2016-04-07erl_interface: Cuddle test ei_tmo_SUITESverker Eriksson
Increase max number of messages sent to fill buffers.
2016-04-07test_server,erl_interface: Add test_host_not_reachable configSverker Eriksson
2016-04-07erts: Refactor ETS compressed encoding of local nodeSverker Eriksson
Instead of INTERNAL_CREATION (255), use empty atom for node name to mean the local node (regardless of node name or creation). The purpose is to get rid of special value 255, for future expansion of creation to 32-bit.
2016-04-07erts: Rename atom '' from am_Cookie to am_EmptySverker Eriksson
2016-04-07Relax node_container_SUITEBjörn-Egil Dahlberg
2016-04-07Increase timetrap timeout for op_SUITE:bsl_bsr/1Björn-Egil Dahlberg
2016-04-07Increase timetrap timeout for port_SUITE:huge_env/1Björn-Egil Dahlberg
2016-04-07Merge branch 'egil/fix-erl_interface-tests'Björn-Egil Dahlberg
* egil/fix-erl_interface-tests: Remove forgotten line
2016-04-07Remove forgotten lineBjörn-Egil Dahlberg
2016-04-07Update preloaded erlang.beamBjörn-Egil Dahlberg
2016-04-07erts: Fix process_info/2 result specBjörn-Egil Dahlberg
2016-04-07Replace test_server:os_type/0 with os:type/0Björn-Egil Dahlberg
2016-04-07Fix instruments_SUITE sumblock checkBjörn-Egil Dahlberg
2016-04-07Eliminate use of doc and suite clausesBjörn-Egil Dahlberg
Those clause are obsolete and never used by common_test.