Commit b13d560
committed
[test] Retrieve Linux distro and version from
Certain Linux distributions like UBI9 don't include `lsb_release`. Let's use `/etc/os-release` to detect the Linux distro and version by default, and fall back to `lsb_release` if `/etc/os-release` is not available.
This makes it possible to mark C++ interop tests that require C++20 as unsupported on distros that bundle an older libstdc++ version./etc/os-release
1 parent 39f826c commit b13d560
1 file changed
+23
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2883 | 2883 | | |
2884 | 2884 | | |
2885 | 2885 | | |
| 2886 | + | |
| 2887 | + | |
| 2888 | + | |
| 2889 | + | |
| 2890 | + | |
| 2891 | + | |
| 2892 | + | |
| 2893 | + | |
| 2894 | + | |
| 2895 | + | |
| 2896 | + | |
| 2897 | + | |
| 2898 | + | |
| 2899 | + | |
| 2900 | + | |
| 2901 | + | |
| 2902 | + | |
| 2903 | + | |
2886 | 2904 | | |
2887 | | - | |
| 2905 | + | |
| 2906 | + | |
| 2907 | + | |
| 2908 | + | |
| 2909 | + | |
2888 | 2910 | | |
2889 | 2911 | | |
2890 | 2912 | | |
| |||
0 commit comments