# Lot « contrat OpenRPC » — le protocole optimiseur comme contrat machine : contrat embarqué == # docs/, listes fermées == code, règles sémantiques == verdicts du validateur, sérialiseur conforme. # # Cible LÉGÈRE, comme `loadmodel` : aucun serveur nymea, aucun arbitre. Le jugement passe par le # validateur publié (tools/etm-powersync-schema-check, Python en sous-processus). include(../common/common.pri) include(../../../energyplugin/energyplugin.pri) CONFIG += testcase TARGET = etm-powersync-protocolschema # Racine des sources : contrat de docs/, sources lues par le test, validateur Python. Surchargée à # l'exécution par $ETM_POWERSYNC_SOURCE_DIR (arbre mutant, arbre archivé). DEFINES += ETM_POWERSYNC_SOURCE_DIR=\\\"$$clean_path($$PWD/../../..)\\\" HEADERS += $$PWD/../common/etm-powersync-contrat.h SOURCES += testprotocolschema.cpp target.path = $$[QT_INSTALL_PREFIX]/bin INSTALLS += target