[Feature][Modem]Update MTK MODEM V1.6 baseline version: MOLY.NR15.R3.MD700.IVT.MP1MR3.MP.V1.6
MTK modem version: MT2735_IVT_MOLY.NR15.R3.MD700.IVT.MP1MR3.MP.V1.6.tar.gz
RF modem version: NA
Change-Id: I45a4c2752fa9d1a618beacd5d40737fb39ab64fb
diff --git a/mcu/tools/NVRAMStatistic/autogen_v2/run.py b/mcu/tools/NVRAMStatistic/autogen_v2/run.py
new file mode 100644
index 0000000..26521a1
--- /dev/null
+++ b/mcu/tools/NVRAMStatistic/autogen_v2/run.py
@@ -0,0 +1,32 @@
+import sys
+import getopt
+from autogen import main
+
+
+if __name__ == '__main__':
+ try:
+ opts, args = getopt.getopt(sys.argv[1:], "tl:p:")
+ except getopt.GetoptError:
+ print("Example of command")
+ print("run autogen_test: run.py -t -p <outPath>")
+ print("run autogen_main: run.py -p <outPath>")
+ sys.exit(2)
+ run = 0
+ for opt, arg in opts:
+ if opt == "-t":
+ run |= 1 << 0
+ elif opt == "-p":
+ run |= 1 << 1
+ out_path = arg
+ if run & 0x3 == 0x3:
+ from tests import test_suite
+ test_suite.main(out_path)
+ elif run & 0x2 == 0x2:
+ main.main(out_path)
+ else:
+ print("Example of command")
+ print("run autogen_test: run.py -t -p <outPath>")
+ print("run autogen_main: run.py -p <outPath>")
+
+
+