The NetBSD Project

CVS log for src/tests/usr.bin/c++/t_pthread_once.sh

[BACK] Up to [cvs.NetBSD.org] / src / tests / usr.bin / c++

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Apr 16 01:52:42 2025 UTC (7 days, 16 hours ago) by riastradh
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +25 -1 lines
tests/usr.bin/*: Mark profiling tests xfail on riscv.

PR port-riscv/59301: riscv: missing MKPROFILE=yes support

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Jun 12 15:08:38 2022 UTC (2 years, 10 months ago) by skrll
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, netbsd-10-1-RELEASE, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -3 lines
Put the sprinkled -static in the right place, i.e. fix up previous.

Thanks to rillig for spotting my mistake.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Jun 12 08:55:36 2022 UTC (2 years, 10 months ago) by skrll
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3 lines
Sprinkle "-static" when using "-pg" as profiling only works with static and
the gcc specs are currently broken.

PR/56876: hppa: "cc -pg" fails with "undefined reference to `mprotect'"

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Oct 13 06:49:27 2020 UTC (4 years, 6 months ago) by rin
Branches: MAIN
CVS tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +1 -11 lines
Now, profiling works for GCC9 on aarch64{,eb}.

Note that it seems to work even for GCC8, according to log data of
official test runs, e.g.,

	https://releng.netbsd.org/b5reports/evbarm-aarch64/2020/2020.09.01.15.45.20/test.log

Revision 1.1.4.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:09:13 2020 UTC (5 years ago) by martin
Branches: phil-wifi
Diff to: previous 1.1.4.1: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.4.1: +11 -1 lines
Merge changes from current as of 20200406

Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Feb 11 06:26:19 2020 UTC (5 years, 2 months ago) by riastradh
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +11 -1 lines
Mark compilation with -pg as xfail on aarch64.

XXX file a PR to xref

Revision 1.1.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:10:11 2019 UTC (5 years, 10 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +1 -6 lines
Sync with HEAD

Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Fri Jan 18 08:51:01 2019 UTC (6 years, 3 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.1.2.2: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.2: +1 -6 lines
Synch with HEAD

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Jan 8 00:22:11 2019 UTC (6 years, 3 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +1 -6 lines
This now works too.

Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Fri Mar 30 06:20:16 2018 UTC (7 years ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.1: +366 -0 lines
Resolve conflicts between branch and HEAD

Revision 1.1.2.1
Sat Mar 24 00:26:51 2018 UTC (7 years, 1 month ago) by pgoyette
Branches: pgoyette-compat
FILE REMOVED
Changes since revision 1.1: +0 -366 lines
file t_pthread_once.sh was added on branch pgoyette-compat on 2018-03-30 06:20:16 +0000

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Mar 24 00:26:51 2018 UTC (7 years, 1 month ago) by kamil
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330
Branch point for: phil-wifi, pgoyette-compat
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>

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>