itest: add the -nativesql flag to run SQL itests with native SQL tables
This commit is contained in:
6 files changed
+29
-7
No files matched your search
@@ -18,7 +18,7 @@ import (
|
||||
// 4. connect the miner and the chain backend.
|
||||
// 5. start the HarnessTest.
|
||||
func SetupHarness(t *testing.T, binaryPath, dbBackendName string,
|
||||
feeService WebFeeService) *HarnessTest {
|
||||
nativeSQL bool, feeService WebFeeService) *HarnessTest {
|
||||
|
||||
t.Log("Setting up HarnessTest...")
|
||||
|
||||
@@ -30,7 +30,7 @@ func SetupHarness(t *testing.T, binaryPath, dbBackendName string,
|
||||
dbBackend := prepareDBBackend(t, dbBackendName)
|
||||
|
||||
// Create a new HarnessTest.
|
||||
ht := NewHarnessTest(t, binaryPath, feeService, dbBackend)
|
||||
ht := NewHarnessTest(t, binaryPath, feeService, dbBackend, nativeSQL)
|
||||
|
||||
// Init the miner.
|
||||
t.Log("Prepare the miner and mine blocks to activate segwit...")
|
||||
|
||||
Reference in new issue
Block a user