mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
17 lines
270 B
Python
Executable File
17 lines
270 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
import json
|
|
import sys
|
|
|
|
if len(sys.argv) < 3:
|
|
sys.exit(-1)
|
|
|
|
objs = []
|
|
for i in range(1, len(sys.argv)):
|
|
f = open(sys.argv[i])
|
|
objs.append(json.load(f))
|
|
|
|
for i in range(1, len(objs)):
|
|
if objs[i - 1] != objs[i]:
|
|
sys.exit(-1)
|