#!/bin/bash

set -e

# pvbatch is similar to `pvpython --force-offscreen-rendering`
# i.e. offline without image window pop-ups

# test default mode (paraview is build with MPI support)
pvbatch -m paraview.tests

# test serial mode without MPI
pvbatch --no-mpi -m paraview.tests

# test explicit MPI mode
pvbatch --mpi -m paraview.tests
