aboutsummaryrefslogtreecommitdiffstats
path: root/erts/test
AgeCommit message (Collapse)Author
2012-08-30Merge branch 'maint'Lukas Larsson
* maint: Document that CTHs can get fail/skip as Config Ignore calls to dialyzer_timing when checking deprecated Do not verify del_path as it is not always there Fix broken links Generate <a name="name"> tags in edoc xml headings Fix compile warning crypto: Fix buffer overflow bug in rsa_sign crypto: Skip some tests if openssl lib < 0.9.8 Fix boken spec
2012-08-30Ignore calls to dialyzer_timing when checking deprecatedLukas Larsson
2012-07-19erts: Remove VxWorks from testsBjörn-Egil Dahlberg
2012-06-08Merge branch 'maint'Lukas Larsson
* maint: Update to work with space in include path Update to work with whitespace in exec path
2012-06-08Merge branch 'lukas/otp/install_with_whitespace/OTP-10107' into maintLukas Larsson
* lukas/otp/install_with_whitespace/OTP-10107: Update to work with space in include path Update to work with whitespace in exec path
2012-06-05Update to work with whitespace in exec pathLukas Larsson
OTP-10106 OTP-10107
2012-06-01Merge branch 'maint'Lukas Larsson
* maint: Ignore calls to wx* modules if it is undefined Fix erl_interface testcases Update gccifier to respect -link option Extand timetrap for escript tests Fix compilation issues on windows and Ubuntu 12.04 Ignore common_test bootstrap
2012-06-01Ignore calls to wx* modules if it is undefinedLukas Larsson
2012-05-30Update gccifier to respect -link optionLukas Larsson
2012-05-30Fix compilation issues on windows and Ubuntu 12.04Lukas Larsson
2012-05-11Merge branch 'maint'Björn Gustavsson
* maint: ts: Recognize Windows 7 otp_SUITE: Ignore calls to dialyzer if the entire application is missing otp_SUITE: Remove broken filtering of megaco calls
2012-05-11Merge branch 'bjorn/test-cases' into maintBjörn Gustavsson
* bjorn/test-cases: ts: Recognize Windows 7 otp_SUITE: Ignore calls to dialyzer if the entire application is missing otp_SUITE: Remove broken filtering of megaco calls
2012-05-03Merge branch 'maint'Lukas Larsson
* maint: Fix include issues in when building tests Fix cross compile of testcases Update cross build system for tests to work
2012-05-03Merge branch 'sverk/cross_tests/OTP-10074' into maintLukas Larsson
* sverk/cross_tests/OTP-10074: Fix include issues in when building tests Fix cross compile of testcases Update cross build system for tests to work
2012-05-02otp_SUITE: Ignore calls to dialyzer if the entire application is missingBjörn Gustavsson
2012-05-02otp_SUITE: Remove broken filtering of megaco callsBjörn Gustavsson
The call to the megaco_filter/1 function is broken. It will cause a badmatch if the megaco_filter/1 would return a different list than its argument. Since the test case has not failed, megaco_filter/1 has no effect and can be removed.
2012-05-02Merge branch 'maint'Björn Gustavsson
* maint: otp_SUITE: Prefix MFAs with the application they belong to
2012-05-02otp_SUITE: Prefix MFAs with the application they belong toBjörn Gustavsson
2012-05-02Fix cross compile of testcasesLukas Larsson
2012-03-30Merge branch 'maint'Björn-Egil Dahlberg
2012-03-30Update copyright yearsBjörn-Egil Dahlberg
2012-03-28Merge branch 'maint'Björn-Egil Dahlberg
2012-03-28Merge branch 'lukas/system/skip_fenris_max_threads' into maintBjörn-Egil Dahlberg
* lukas/system/skip_fenris_max_threads: Skip on buggy solaris
2012-03-27Merge branch 'maint'Lukas Larsson
* maint: Rename fin_per_testcase to end_per_testcase
2012-03-26Skip on buggy solarisLukas Larsson
2012-03-26Rename fin_per_testcase to end_per_testcaseLukas Larsson
2012-03-09Merge branch 'maint'Lukas Larsson
* maint: Add filter for ssh undefined function calls
2012-02-08Add filter for ssh undefined function callsLukas Larsson
If there is no crypto there will be no ssh and thus alot of undefined functions will appear in common_test.
2012-02-08Replace autoimport_SUITE with bif_SUITE:auto_imports/1Björn Gustavsson
erts/test/autoimport_SUITE tested that auto-import information in erl_internal:bif/2 was consistent with the documentation. It did it by scanning erlang.xml. Since the documentation is now based on the specs in erlang.erl, we should now test consistency of the specs and erl_internal:bif/2. Since anyone that adds a new BIF runs the emulator test suite, it makes sense to do this test in bif_SUITE in the emulator test suite.
2012-01-04erts: Use re instead of regexp in testsuiteBjörn-Egil Dahlberg
2012-01-04erts: Remove unused code in testsuitesBjörn-Egil Dahlberg
2011-12-09Merge branch 'pan/win64-fixes'Patrik Nyblom
* pan/win64-fixes: Update INSTALL-WIN32.md to reflect changes in R15B Make erl_alloc.c use correct strtol variant on windows Set absolute limit on number of threads in ethread_SUITE OTP-9130
2011-12-09Update copyright yearsBjörn-Egil Dahlberg
2011-12-08Set absolute limit on number of threads in ethread_SUITEPatrik Nyblom
Win64 has no limit on number of threads, at least not one you will reach before the memory gets exhausted on a mainstream machine. Therefore the testcase max_threads has to stop at some point before we consume all virtual memory in the machine. An arbitrary limit of 80000 threads was added.
2011-12-08Link with LIBS after ETHR_LIBSLukas Larsson
2011-12-06Skip detached test-case on MacOSX LeopardRickard Green
2011-12-02otp_SUITE: Write log files about undefined functions and so onBjörn Gustavsson
Write some extra log files for easy access by other tools.
2011-11-25erlc_SUITE:arg_overflow/1: Lower number of options for MacOS X LionBjörn Gustavsson
On my Mac, the highest successful value was 7673. The new value provides some safety margin.
2011-11-23erlc_SUITE: Fix failing compile_mib/1 test caseBjörn Gustavsson
The MIB compiler has changed how it reports syntax errors.
2011-10-27erts/z_SUITE: Eliminate use of deprecated regexp moduleBjörn Gustavsson
2011-10-27erts/nt_SUITE: Eliminate use of deprecated regexp moduleBjörn Gustavsson
2011-09-13Merge branch 'dev' into majorHenrik Nord
Conflicts: lib/asn1/doc/src/asn1ct.xml
2011-09-13Merge branch 'ta/werror' into devHenrik Nord
* ta/werror: snmp: extend warnings_as_errors test systools: add warnings_as_errors option asn1ct: add warnings_as_errors option leex: optimize werror/1 yecc: optimize werror/1 yecc: use more descriptive name: 'werror' leex: use more descriptive name: 'werror' compile: optimize werror/1 compile: log warnings as errors if -Werror is enabled yecc: log warnings as errors if -Werror is enabled leex: log warnings as errors if -Werror is enabled yecc: honour -Werror passed from erlc leex: honour -Werror passed from erlc Do not write beam file if Werr and warnings /= [] parsetools: test if warnings_as_errors writes file OTP-9536
2011-09-10Merge branch 'dev' into majorBjörn Gustavsson
* dev: erts: Add a sanity check to autoimport_SUITE erts: Fix failing autoimport test case
2011-09-08compile: log warnings as errors if -Werror is enabledTuncer Ayaz
2011-09-08erts: Add a sanity check to autoimport_SUITEBjörn Gustavsson
If we fail to parse out any functions from erlang.xml, make sure that we fail.
2011-09-08erts: Fix failing autoimport test caseBjörn Gustavsson
The autoimport_SUITE:autoimport/1 test case would interpret data type definitions as function calls. Fix this by skipping to the <funcs> tag before starting to collect function names.
2011-09-08Merge branch 'dev' into majorBjörn Gustavsson
* dev: erlc_SUITE: Fix arg_overflow/1 test case
2011-09-03erlc_SUITE: Fix arg_overflow/1 test caseBjörn Gustavsson
In commit be8759e68b337524c056b8bb757ea68c9996d863, a buffer overflow was fixed in erlc and the erlc_SUITE:arg_overflow/1 test case was added. That test cases invokes erlc with 10000 -D options, which will result in 'erl' being invoked with more than 30000 arguments. On some platforms, the test case will fail for the wrong reason: * 64-bit Linux kernels before 2.6.23 limit the number of arguments in an excvp() call to 16383. (See "Number of arguments and maximum length of one argument" in http://www.in-ulm.de/~mascheck/various/argmax/.) * The command shell in Windows limits the size of the command line to 8191 characters. Depending on the platform, pass a different number of -D options to erlc. Since the size of the options does not matter for this test case, make the options as short as possible by generating numbers in base 36.
2011-06-14Improve ethread atomicsRickard Green
The ethread atomics API now also provide double word size atomics. Double word size atomics are implemented using native atomic instructions on x86 (when the cmpxchg8b instruction is available) and on x86_64 (when the cmpxchg16b instruction is available). On other hardware where 32-bit atomics or word size atomics are available, an optimized fallback is used; otherwise, a spinlock, or a mutex based fallback is used. The ethread library now performs runtime tests for presence of hardware features, such as for example SSE2 instructions, instead of requiring this to be determined at compile time. There are now functions implementing each atomic operation with the following implied memory barrier semantics: none, read, write, acquire, release, and full. Some of the operation-barrier combinations aren't especially useful. But instead of filtering useful ones out, and potentially miss a useful one, we implement them all. A much smaller set of functionality for native atomics are required to be implemented than before. More or less only cmpxchg and a membar macro are required to be implemented for each atomic size. Other functions will automatically be constructed from these. It is, of course, often wise to implement more that this if possible from a performance perspective.