#!/bin/sh

set -e

exec 2>&1

cd test
./cert/create-cert.sh
make u_map core framework websocket

# Workaround for LP: #1945634. If ::1 is already present this will append
# it another time. Having it twice won't hurt; let's take the simple route.
# Hopefully we'll be able to drop this delta at some point.
[ -n "$no_proxy" ] && no_proxy="$no_proxy,::1"

./u_map
./core
./framework
./websocket
