Skip to content

Instantly share code, notes, and snippets.

@cgoldberg
cgoldberg / merge_junit_results.py
Last active June 18, 2024 17:30
Merge multiple JUnit XML results files into a single results file.
#!/usr/bin/env python
"""Merge multiple JUnit XML results files into a single results file."""
# MIT License
#
# Copyright (c) 2012 Corey Goldberg
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
#!/bin/bash
if [ -n "$1" ];then
./simg2img "$1" a.img
else
./simg2img userdata.img a.img
fi
mount -o loop a.img d
mkdir -p d