-
Notifications
You must be signed in to change notification settings - Fork 235
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: Remove deps on the prelude and ovr_config
Summary: I didn't notice until after the previous diff that some of these tests are not actually isolated. These ones were easy to fix, and almost certainly the result of copy + paste Reviewed By: IanChilds Differential Revision: D63972133 fbshipit-source-id: 03a1fdb2fa63b81d0bcb3e9d77b07df9bb72eef0
- Loading branch information
1 parent
e443eed
commit 37c2413
Showing
11 changed files
with
53 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 4 additions & 10 deletions
14
tests/core/build/test_build_output_file_hashes_data/.buckconfig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,5 @@ | ||
[buildfile] | ||
name=TARGETS.fixture | ||
[cells] | ||
root = . | ||
|
||
[repositories] | ||
root = . | ||
fbcode = fbcode | ||
fbsource = fbsource | ||
buck = buck | ||
toolchains = toolchains | ||
prelude = prelude | ||
config = config | ||
[buildfile] | ||
name=TARGETS.fixture |
2 changes: 2 additions & 0 deletions
2
tests/core/build/test_build_output_file_hashes_data/TARGETS.fixture
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
load(":defs.bzl", "export_file") | ||
|
||
export_file( | ||
name = "file.txt", | ||
src = "file.txt", | ||
|
16 changes: 16 additions & 0 deletions
16
tests/core/build/test_build_output_file_hashes_data/defs.bzl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Copyright (c) Meta Platforms, Inc. and affiliates. | ||
# | ||
# This source code is licensed under both the MIT license found in the | ||
# LICENSE-MIT file in the root directory of this source tree and the Apache | ||
# License, Version 2.0 found in the LICENSE-APACHE file in the root directory | ||
# of this source tree. | ||
|
||
def _export_file_impl(ctx): | ||
return [DefaultInfo(default_output = ctx.attrs.src)] | ||
|
||
export_file = rule( | ||
impl = _export_file_impl, | ||
attrs = { | ||
"src": attrs.source(allow_directory = True), | ||
}, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,5 @@ | ||
[buildfile] | ||
name=TARGETS.fixture | ||
[cells] | ||
root = . | ||
|
||
[repositories] | ||
root = . | ||
fbcode = fbcode | ||
fbsource = fbsource | ||
buck = buck | ||
toolchains = toolchains | ||
prelude = prelude | ||
config = config | ||
[buildfile] | ||
name=TARGETS.fixture |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,5 @@ | ||
[buildfile] | ||
name=TARGETS.fixture | ||
[cells] | ||
root = . | ||
|
||
[repositories] | ||
root = . | ||
fbcode = fbcode | ||
fbsource = fbsource | ||
buck = buck | ||
toolchains = toolchains | ||
prelude = prelude | ||
config = config | ||
[buildfile] | ||
name=TARGETS.fixture |
14 changes: 4 additions & 10 deletions
14
tests/core/build/test_build_rule_type_name_logging_data/.buckconfig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,5 @@ | ||
[buildfile] | ||
name=TARGETS.fixture | ||
[cells] | ||
root = . | ||
|
||
[repositories] | ||
root = . | ||
fbcode = fbcode | ||
fbsource = fbsource | ||
buck = buck | ||
toolchains = toolchains | ||
prelude = prelude | ||
config = config | ||
[buildfile] | ||
name=TARGETS.fixture |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,5 @@ | ||
[buildfile] | ||
name=TARGETS.fixture | ||
[cells] | ||
root = . | ||
|
||
[repositories] | ||
root = . | ||
fbcode = fbcode | ||
fbsource = fbsource | ||
buck = buck | ||
toolchains = toolchains | ||
prelude = prelude | ||
config = config | ||
[buildfile] | ||
name=TARGETS.fixture |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,5 @@ | ||
[buildfile] | ||
name=TARGETS.fixture | ||
[cells] | ||
root = . | ||
|
||
[repositories] | ||
root = . | ||
fbcode = fbcode | ||
fbsource = fbsource | ||
buck = buck | ||
toolchains = toolchains | ||
prelude = prelude | ||
config = config | ||
[buildfile] | ||
name=TARGETS.fixture |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
load(":defs.bzl", "out_library") | ||
load(":defs.bzl", "export_file", "out_library") | ||
|
||
export_file( | ||
name = "a.txt", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters