Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src
Module Name: src
Committed By: kamil
Date: Sat Mar 24 00:26:51 UTC 2018
Modified Files:
src/distrib/sets/lists/tests: mi
src/tests/usr.bin/c++: Makefile t_cxxruntime.sh t_hello.sh
t_static_destructor.sh
Added Files:
src/tests/usr.bin/c++: t_call_once.sh t_call_once2.sh t_pthread_once.sh
Log Message:
Add new C++ ATF tests
Add new variations for existing C++ tests:
- Static
- Profile+32-bit
- PIC+32-bit
- PIC+Profile
- PIC+Profile+32-bit
All tests pass for NetBSD/amd64:
- t_cxxruntime
- t_hello
- t_static_destructor
+--------------------------------------------------------------+
| Options | cxxruntime | hello | static_destructor |
+--------------------------------------------------------------+
| None | Passed | Passed | Passed |
| 32-bit | Passed | Passed | Passed |
| PIC | Passed | Passed | Passed |
| PIE | Passed | Passed | Passed |
| Profile | Passed | Passed | Passed |
| Static | Passed | Passed | Passed |
| Profile+32-bit | Passed | Passed | Passed |
| PIC+32-bit | Passed | Passed | Passed |
| PIC+Profile | Passed | Passed | Passed |
| PIC+Profile+32-bit | Passed | Passed | Passed |
+--------------------------------------------------------------+
Add new C++11 std::call_once tests:
- t_call_once
- t_call_once2
Add new C++11 test with pthread_once(3) and C++ lambda:
- t_pthread_once
All tests with the profile option for std::call_once and
pthread_once(3) are marked as expected failure (NetBSD/amd64).
Results for *_once*:
+------------------------------------------------------------+
| Options | call_once | call_once2 | pthread_once |
+------------------------------------------------------------+
| None | Passed | Passed | Passed |
| 32-bit | Passed | Passed | Passed |
| PIC | Passed | Passed | Passed |
| PIE | Passed | Passed | Passed |
| Profile | Failed | Failed | Failed |
| Static | Passed | Passed | Passed |
| Profile+32-bit | Failed | Failed | Failed |
| PIC+32-bit | Passed | Passed | Passed |
| PIC+Profile | Failed | Failed | Failed |
| PIC+Profile+32-bit | Failed | Failed | Failed |
+------------------------------------------------------------+
Long term there is an option to refacotr the framework for C and C++ tests,
in order to reduce code duplication.
Patches sent by Yang Zheng <tomsun.0.7%gmail.com@localhost>
To generate a diff of this commit:
cvs rdiff -u -r1.777 -r1.778 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.3 -r1.4 src/tests/usr.bin/c++/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/usr.bin/c++/t_call_once.sh \
src/tests/usr.bin/c++/t_call_once2.sh \
src/tests/usr.bin/c++/t_pthread_once.sh
cvs rdiff -u -r1.2 -r1.3 src/tests/usr.bin/c++/t_cxxruntime.sh \
src/tests/usr.bin/c++/t_hello.sh
cvs rdiff -u -r1.1 -r1.2 src/tests/usr.bin/c++/t_static_destructor.sh
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index