fish-shell/tests/checks/buildinfo.fish
Fabian Boehm 6f9ca42a30
Add status buildinfo (#10896)
This can be used to get some information on how fish was built - the
version, the build system, the operating system and architecture, the
features.
2024-12-29 13:37:28 +01:00

15 lines
449 B
Fish

#RUN: %fish %s
# Example output:
# Build system: CMake
# Version: 3.7.1-2573-gea8301631-dirty
# Target (and host): x86_64-unknown-linux-gnu
# Profile: release
# Features: gettext
status buildinfo | grep -v 'Host:'
# CHECK: Build system: {{CMake|Cargo}}
# CHECK: Version: {{.+}}
# (this could be "Target (and Host)" or "Target:" and a separate line "Host:")
# CHECK: Target{{.*}}: {{.+}}
# CHECK: Profile: {{release|debug}}
# CHECK: Features:{{.*}}