Since we require ports to use a matching subdir name in the testsuite tree, we can use that to calculate the $arch value.