[RISCV] Refactor predicates for rvv intrinsic patterns.
[llvm-project.git] / llvm / utils / lit / tests / shtest-pushd-popd.py
blob26296a7ffcf59ba462cd59e0db6c43f14ee1a812
1 # Check the pushd and popd commands
3 # RUN: not %{lit} -a -v %{inputs}/shtest-pushd-popd \
4 # RUN: | FileCheck -match-full-lines %s
6 # END.
8 # CHECK: -- Testing: 4 tests{{.*}}
10 # CHECK: FAIL: shtest-pushd-popd :: popd-args.txt ({{[^)]*}})
11 # CHECK: $ "popd" "invalid"
12 # CHECK: 'popd' does not support arguments
14 # CHECK: FAIL: shtest-pushd-popd :: popd-no-stack.txt ({{[^)]*}})
15 # CHECK: $ "popd"
16 # CHECK: popd: directory stack empty
18 # CHECK: FAIL: shtest-pushd-popd :: pushd-too-many-args.txt ({{[^)]*}})
19 # CHECK: $ "pushd" "a" "b"
20 # CHECK: 'pushd' supports only one argument
22 # CHECK: Passed: 1
23 # CHECK: Failed: 3
24 # CHECK-NOT: {{.}}