aboutsummaryrefslogtreecommitdiffstats
path: root/erts/test
AgeCommit message (Collapse)Author
2012-10-01Verify that ebin folder of applications existsLukas Larsson
Sometime in cross environments the documentation will create the lib folders, but there will be no ebin so all undefined functions should then be ignored.
2012-08-31Update copyright yearsBjörn-Egil Dahlberg
2012-08-30Ignore calls to dialyzer_timing when checking deprecatedLukas Larsson
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-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 '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 '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-02otp_SUITE: Prefix MFAs with the application they belong toBjörn Gustavsson
2012-05-02Fix cross compile of testcasesLukas Larsson
2012-03-30Update copyright yearsBjö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-26Skip on buggy solarisLukas Larsson
2012-03-26Rename fin_per_testcase to end_per_testcaseLukas Larsson
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-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.
2011-03-30Merge branch 'hw/call-chmod-without-f' into devHenrik Nord
* hw/call-chmod-without-f: Call chmod without the "-f" flag Conflicts: erts/emulator/test/Makefile lib/asn1/test/Makefile lib/crypto/test/Makefile lib/debugger/test/Makefile lib/docbuilder/test/Makefile lib/edoc/test/Makefile lib/erl_interface/test/Makefile lib/inviso/test/Makefile lib/parsetools/test/Makefile lib/percept/test/Makefile lib/ssl/test/Makefile lib/syntax_tools/test/Makefile lib/test_server/test/Makefile lib/tools/test/Makefile OTP-9170
2011-03-11Update copyright yearsBjörn-Egil Dahlberg
2011-02-17Rename Suite Callback to Common Test HookLukas Larsson
2011-02-17Update all test specsLukas Larsson
2011-02-17Fix formatting for systemLukas Larsson
2011-02-17Add init_per_suite and end_per_suiteLukas Larsson
2011-02-17Add ts_install_scb to suite/0Lukas Larsson
2011-02-17Update system tests to conform with common_test standardLukas Larsson
2010-12-14Remove unused ethread time functionalityRickard Green
2010-12-03Merge branch 'pan/unicode-filenames/OTP-8887' into devPatrik Nyblom
* pan/unicode-filenames/OTP-8887: (27 commits) Test and correct filelib and filename Add documentation to erlang.xml and slight correction to unicode_usage.xml Add section about Unicode file names to stdlib users guide Correct bug in file_name_SUITE making it fail on Unix instead of Windows7 Add documentation about raw filenames and Unicode file name translation mode Make filelib not crash on re codepoints beyond 255 in re when filename is raw Mend on_load_embedded testcase which did not handle windows links Correct testcase regarding windows versions supporting soft links. Teach filelib to use re in unicode mode when filenames are not raw Treat soft links on Windows correctly in file_name_SUITE Adapt new soft and hard link routines on Windos to Unicode Corrected testcases broken by unicode filenames Update preloaded prim_file Teach prim_file not to accept atoms and not to throw exceptions Adapt inet_drv to Visual Studio 2008 Teach spawn_executable about Unicode Convert filenames read on MacOSX to canonical form Teach file to accept codepoints beyond 255. Add testcases Correct shell utilities to handle unicode and possibly binaries ...