diff options
-rw-r--r-- | test/camera-sensor.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/camera-sensor.cpp b/test/camera-sensor.cpp index 27c190fe..6069d668 100644 --- a/test/camera-sensor.cpp +++ b/test/camera-sensor.cpp @@ -61,6 +61,12 @@ protected: int run() { + if (sensor_->model() != "Sensor A") { + cerr << "Incorrect sensor model '" << sensor_->model() + << "'" << endl; + return TestFail; + } + const std::vector<unsigned int> &codes = sensor_->mbusCodes(); auto iter = std::find(codes.begin(), codes.end(), MEDIA_BUS_FMT_ARGB8888_1X32); |