
Also added `%{t:stem}` as an alias for `%basename_t` and modified unit test to test these new substitutions.
8 lines
254 B
Python
8 lines
254 B
Python
# Basic test for substitutions.
|
|
#
|
|
# RUN: echo %{s:basename} | FileCheck %s --check-prefix=BASENAME
|
|
# RUN: echo %{t:stem} %basename_t | FileCheck %s --check-prefix=TMPBASENAME
|
|
|
|
# BASENAME: substitutions.py
|
|
# TMPBASENAME: [[FIRST:[^[:space:]]+]] [[FIRST]]
|