Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

opt: replace make with dev in test instructions #95840

Merged
merged 1 commit into from
Jan 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pkg/sql/opt/norm/norm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ import (
//
// Rules files can be run separately like this:
//
// make test PKG=./pkg/sql/opt/norm TESTS="TestNormRules/bool"
// make test PKG=./pkg/sql/opt/norm TESTS="TestNormRules/comp"
// ./dev test pkg/sql/opt/norm -f TestNormRules/bool
// ./dev test pkg/sql/opt/norm -f TestNormRules/comp
// ...
func TestNormRules(t *testing.T) {
defer leaktest.AfterTest(t)()
Expand All @@ -58,7 +58,7 @@ func TestNormRules(t *testing.T) {

// TestRuleProps files can be run separately like this:
//
// make test PKG=./pkg/sql/opt/norm TESTS="TestNormRuleProps/orderings"
// ./dev test pkg/sql/opt/norm -f TestNormRuleProps/orderings
// ...
func TestNormRuleProps(t *testing.T) {
defer leaktest.AfterTest(t)()
Expand Down
19 changes: 10 additions & 9 deletions pkg/sql/opt/xform/optimizer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ func TestDetachMemoRace(t *testing.T) {

// TestCoster files can be run separately like this:
//
// make test PKG=./pkg/sql/opt/xform TESTS="TestCoster/sort"
// make test PKG=./pkg/sql/opt/xform TESTS="TestCoster/scan"
// ./dev test pkg/sql/opt/xform -f TestCoster/sort
// ./dev test pkg/sql/opt/xform -f TestCoster/scan
// ...
func TestCoster(t *testing.T) {
defer leaktest.AfterTest(t)()
Expand All @@ -150,8 +150,8 @@ func TestCoster(t *testing.T) {

// TestPhysicalProps files can be run separately like this:
//
// make test PKG=./pkg/sql/opt/xform TESTS="TestPhysicalPropsFactory/ordering"
// make test PKG=./pkg/sql/opt/xform TESTS="TestPhysicalPropsFactory/presentation"
// ./dev test pkg/sql/opt/xform -f TestPhysicalPropsFactory/ordering
// ./dev test pkg/sql/opt/xform -f TestPhysicalPropsFactory/presentation
// ...
func TestPhysicalProps(t *testing.T) {
defer leaktest.AfterTest(t)()
Expand All @@ -171,7 +171,7 @@ func TestPhysicalProps(t *testing.T) {

// TestRuleProps files can be run separately like this:
//
// make test PKG=./pkg/sql/opt/xform TESTS="TestRuleProps/orderings"
// ./dev test pkg/sql/opt/xform -f TestRuleProps/orderings
// ...
func TestRuleProps(t *testing.T) {
defer leaktest.AfterTest(t)()
Expand All @@ -186,8 +186,8 @@ func TestRuleProps(t *testing.T) {

// TestRules files can be run separately like this:
//
// make test PKG=./pkg/sql/opt/xform TESTS="TestRules/scan"
// make test PKG=./pkg/sql/opt/xform TESTS="TestRules/select"
// ./dev test pkg/sql/opt/xform -f TestRules/scan
// ./dev test pkg/sql/opt/xform -f TestRules/select
// ...
func TestRules(t *testing.T) {
defer leaktest.AfterTest(t)()
Expand All @@ -211,12 +211,13 @@ var externalTestData = flag.String(
//
// TestExternal files can be run separately like this:
//
// make test PKG=./pkg/sql/opt/xform TESTS="TestExternal/tpch"
// ./dev test pkg/sql/opt/xform -f TestExternal/tpch
// ...
//
// Test files from another location can be run using the -d flag:
//
// make test PKG=./pkg/sql/opt/xform TESTS=TestExternal TESTFLAGS='-d /some-dir'
// ./dev test pkg/sql/opt/xform -f TestExternal --rewrite \
// --test-args="-d=/some-dir" -- --sandbox_writable_path="/some-dir"
func TestExternal(t *testing.T) {
defer leaktest.AfterTest(t)()
defer log.Scope(t).Close(t)
Expand Down