obscuren 11 years ago
parent
commit
33ca8d7b8f

+ 0 - 0
tests/vm/files/README.md → tests/files/README.md


+ 0 - 0
tests/vm/files/TODO → tests/files/TODO


+ 0 - 0
tests/vm/files/blockgenesistest.json → tests/files/blockgenesistest.json


+ 0 - 0
tests/vm/files/genesishashestest.json → tests/files/genesishashestest.json


+ 0 - 0
tests/vm/files/hexencodetest.json → tests/files/hexencodetest.json


+ 0 - 0
tests/vm/files/keyaddrtest.json → tests/files/keyaddrtest.json


+ 0 - 0
tests/vm/files/namecoin.json → tests/files/namecoin.json


+ 0 - 0
tests/vm/files/rlptest.json → tests/files/rlptest.json


+ 0 - 0
tests/vm/files/trietest.json → tests/files/trietest.json


+ 0 - 0
tests/vm/files/trietestnextprev.json → tests/files/trietestnextprev.json


+ 0 - 0
tests/vm/files/txtest.json → tests/files/txtest.json


+ 0 - 0
tests/vm/files/vmtests/random.json → tests/files/vmtests/random.json


+ 0 - 0
tests/vm/files/vmtests/vmArithmeticTest.json → tests/files/vmtests/vmArithmeticTest.json


+ 0 - 0
tests/vm/files/vmtests/vmBitwiseLogicOperationTest.json → tests/files/vmtests/vmBitwiseLogicOperationTest.json


+ 0 - 0
tests/vm/files/vmtests/vmBlockInfoTest.json → tests/files/vmtests/vmBlockInfoTest.json


+ 0 - 0
tests/vm/files/vmtests/vmEnvironmentalInfoTest.json → tests/files/vmtests/vmEnvironmentalInfoTest.json


+ 0 - 0
tests/vm/files/vmtests/vmIOandFlowOperationsTest.json → tests/files/vmtests/vmIOandFlowOperationsTest.json


+ 0 - 0
tests/vm/files/vmtests/vmPushDupSwapTest.json → tests/files/vmtests/vmPushDupSwapTest.json


+ 0 - 0
tests/vm/files/vmtests/vmSha3Test.json → tests/files/vmtests/vmSha3Test.json


+ 0 - 0
tests/vm/files/vmtests/vmSystemOperationsTest.json → tests/files/vmtests/vmSystemOperationsTest.json


+ 0 - 0
tests/vm/files/vmtests/vmtests.json → tests/files/vmtests/vmtests.json


+ 9 - 9
tests/vm/gh_test.go

@@ -89,46 +89,46 @@ func RunVmTest(p string, t *testing.T) {
 // I've created a new function for each tests so it's easier to identify where the problem lies if any of them fail.
 func TestVMArithmetic(t *testing.T) {
 	//helper.Logger.SetLogLevel(5)
-	const fn = "files/vmtests/vmArithmeticTest.json"
+	const fn = "../files/vmtests/vmArithmeticTest.json"
 	RunVmTest(fn, t)
 }
 
 func TestVMSystemOperation(t *testing.T) {
-	const fn = "files/vmtests/vmSystemOperationsTest.json"
+	const fn = "../files/vmtests/vmSystemOperationsTest.json"
 	RunVmTest(fn, t)
 }
 
 func TestBitwiseLogicOperation(t *testing.T) {
-	const fn = "files/vmtests/vmBitwiseLogicOperationTest.json"
+	const fn = "../files/vmtests/vmBitwiseLogicOperationTest.json"
 	RunVmTest(fn, t)
 }
 
 func TestBlockInfo(t *testing.T) {
-	const fn = "files/vmtests/vmBlockInfoTest.json"
+	const fn = "../files/vmtests/vmBlockInfoTest.json"
 	RunVmTest(fn, t)
 }
 
 func TestEnvironmentalInfo(t *testing.T) {
-	const fn = "files/vmtests/vmEnvironmentalInfoTest.json"
+	const fn = "../files/vmtests/vmEnvironmentalInfoTest.json"
 	RunVmTest(fn, t)
 }
 
 func TestFlowOperation(t *testing.T) {
-	const fn = "files/vmtests/vmIOandFlowOperationsTest.json"
+	const fn = "../files/vmtests/vmIOandFlowOperationsTest.json"
 	RunVmTest(fn, t)
 }
 
 func TestPushDupSwap(t *testing.T) {
-	const fn = "files/vmtests/vmPushDupSwapTest.json"
+	const fn = "../files/vmtests/vmPushDupSwapTest.json"
 	RunVmTest(fn, t)
 }
 
 func TestVMSha3(t *testing.T) {
-	const fn = "files/vmtests/vmSha3Test.json"
+	const fn = "../files/vmtests/vmSha3Test.json"
 	RunVmTest(fn, t)
 }
 
 func TestVm(t *testing.T) {
-	const fn = "files/vmtests/vmtests.json"
+	const fn = "../files/vmtests/vmtests.json"
 	RunVmTest(fn, t)
 }