Skip to content

Commit 80d5c46

Browse files
committed
Move function_ test files to be in function dir and remove the function_ prefix
Follow up of carbon-language#5645 (comment) and carbon-language#5607.
1 parent ad4914b commit 80d5c46

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

toolchain/check/testdata/interop/cpp/function_full_semir.carbon renamed to toolchain/check/testdata/interop/cpp/function/full_semir.carbon

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
//
88
// AUTOUPDATE
99
// TIP: To test this file alone, run:
10-
// TIP: bazel test //toolchain/testing:file_test --test_arg=--file_tests=toolchain/check/testdata/interop/cpp/function_full_semir.carbon
10+
// TIP: bazel test //toolchain/testing:file_test --test_arg=--file_tests=toolchain/check/testdata/interop/cpp/function/full_semir.carbon
1111
// TIP: To dump output, run:
12-
// TIP: bazel run //toolchain/testing:file_test -- --dump_output --file_tests=toolchain/check/testdata/interop/cpp/function_full_semir.carbon
12+
// TIP: bazel run //toolchain/testing:file_test -- --dump_output --file_tests=toolchain/check/testdata/interop/cpp/function/full_semir.carbon
1313

1414
// ============================================================================
1515
// Function with short parameter

toolchain/check/testdata/interop/cpp/function_param_int16.carbon renamed to toolchain/check/testdata/interop/cpp/function/param_int16.carbon

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
//
77
// AUTOUPDATE
88
// TIP: To test this file alone, run:
9-
// TIP: bazel test //toolchain/testing:file_test --test_arg=--file_tests=toolchain/check/testdata/interop/cpp/function_param_int16.carbon
9+
// TIP: bazel test //toolchain/testing:file_test --test_arg=--file_tests=toolchain/check/testdata/interop/cpp/function/param_int16.carbon
1010
// TIP: To dump output, run:
11-
// TIP: bazel run //toolchain/testing:file_test -- --dump_output --file_tests=toolchain/check/testdata/interop/cpp/function_param_int16.carbon
11+
// TIP: bazel run //toolchain/testing:file_test -- --dump_output --file_tests=toolchain/check/testdata/interop/cpp/function/param_int16.carbon
1212

1313
// ============================================================================
1414
// short

toolchain/check/testdata/interop/cpp/function_param_int32.carbon renamed to toolchain/check/testdata/interop/cpp/function/param_int32.carbon

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
//
77
// AUTOUPDATE
88
// TIP: To test this file alone, run:
9-
// TIP: bazel test //toolchain/testing:file_test --test_arg=--file_tests=toolchain/check/testdata/interop/cpp/function_param_int32.carbon
9+
// TIP: bazel test //toolchain/testing:file_test --test_arg=--file_tests=toolchain/check/testdata/interop/cpp/function/param_int32.carbon
1010
// TIP: To dump output, run:
11-
// TIP: bazel run //toolchain/testing:file_test -- --dump_output --file_tests=toolchain/check/testdata/interop/cpp/function_param_int32.carbon
11+
// TIP: bazel run //toolchain/testing:file_test -- --dump_output --file_tests=toolchain/check/testdata/interop/cpp/function/param_int32.carbon
1212

1313
// ============================================================================
1414
// int

toolchain/check/testdata/interop/cpp/function_param_unsupported.carbon renamed to toolchain/check/testdata/interop/cpp/function/param_unsupported.carbon

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
//
77
// AUTOUPDATE
88
// TIP: To test this file alone, run:
9-
// TIP: bazel test //toolchain/testing:file_test --test_arg=--file_tests=toolchain/check/testdata/interop/cpp/function_param_unsupported.carbon
9+
// TIP: bazel test //toolchain/testing:file_test --test_arg=--file_tests=toolchain/check/testdata/interop/cpp/function/param_unsupported.carbon
1010
// TIP: To dump output, run:
11-
// TIP: bazel run //toolchain/testing:file_test -- --dump_output --file_tests=toolchain/check/testdata/interop/cpp/function_param_unsupported.carbon
11+
// TIP: bazel run //toolchain/testing:file_test -- --dump_output --file_tests=toolchain/check/testdata/interop/cpp/function/param_unsupported.carbon
1212

1313
// ============================================================================
1414
// Unsupported primitive type

toolchain/check/testdata/interop/cpp/function_return.carbon renamed to toolchain/check/testdata/interop/cpp/function/return.carbon

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
//
77
// AUTOUPDATE
88
// TIP: To test this file alone, run:
9-
// TIP: bazel test //toolchain/testing:file_test --test_arg=--file_tests=toolchain/check/testdata/interop/cpp/function_return.carbon
9+
// TIP: bazel test //toolchain/testing:file_test --test_arg=--file_tests=toolchain/check/testdata/interop/cpp/function/return.carbon
1010
// TIP: To dump output, run:
11-
// TIP: bazel run //toolchain/testing:file_test -- --dump_output --file_tests=toolchain/check/testdata/interop/cpp/function_return.carbon
11+
// TIP: bazel run //toolchain/testing:file_test -- --dump_output --file_tests=toolchain/check/testdata/interop/cpp/function/return.carbon
1212

1313
// ============================================================================
1414
// short

0 commit comments

Comments
 (0)