* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
-#include "../libsigrokdecode.h" /* First, to avoid compiler warning. */
+#include <config.h>
+#include <libsigrokdecode.h> /* First, to avoid compiler warning. */
#include <stdlib.h>
#include <check.h>
#include "lib.h"
struct srd_session *sess;
struct srd_decoder_inst *inst;
- srd_init(DECODERS_DIR);
+ srd_init(DECODERS_TESTDIR);
srd_decoder_load("uart");
srd_session_new(&sess);
inst = srd_inst_new(sess, "uart", NULL);
inst1 = inst2 = inst3 = NULL;
- srd_init(DECODERS_DIR);
+ srd_init(DECODERS_TESTDIR);
srd_decoder_load_all();
srd_session_new(&sess);
struct srd_decoder_inst *inst;
GHashTable *options;
- srd_init(DECODERS_DIR);
+ srd_init(DECODERS_TESTDIR);
srd_decoder_load_all();
srd_session_new(&sess);
inst = srd_inst_new(sess, "uart", NULL);
struct srd_decoder_inst *inst;
GHashTable *options;
- srd_init(DECODERS_DIR);
+ srd_init(DECODERS_TESTDIR);
srd_decoder_load_all();
srd_session_new(&sess);
inst = srd_inst_new(sess, "uart", NULL);